Re: [Qemu-devel] [PATCH v2 2/4] softfloat: Avoid uint16 type conflict on Darwin

2011-11-01 Thread Eric Sunshine
On Nov 1, 2011, at 3:25 PM, Andreas Färber wrote: Am 01.11.2011 20:06, schrieb Eric Sunshine: On Nov 1, 2011, at 2:52 PM, Andreas Färber wrote: Am 01.11.2011 19:47, schrieb Eric Sunshine: On Nov 1, 2011, at 12:37 PM, Andreas Färber wrote: Am 01.11.2011 09:09, schrieb Eric Sunshine: Perhaps

Re: [Qemu-devel] [PATCH v2 2/4] softfloat: Avoid uint16 type conflict on Darwin

2011-11-01 Thread Eric Sunshine
On Nov 1, 2011, at 3:06 PM, Eric Sunshine wrote: On Nov 1, 2011, at 2:52 PM, Andreas Färber wrote: Am 01.11.2011 19:47, schrieb Eric Sunshine: On Nov 1, 2011, at 12:37 PM, Andreas Färber wrote: Am 01.11.2011 09:09, schrieb Eric Sunshine: Perhaps the following alternative solution would be

Re: [Qemu-devel] [PATCH v2 2/4] softfloat: Avoid uint16 type conflict on Darwin

2011-11-01 Thread Eric Sunshine
On Nov 1, 2011, at 2:52 PM, Andreas Färber wrote: Am 01.11.2011 19:47, schrieb Eric Sunshine: On Nov 1, 2011, at 12:37 PM, Andreas Färber wrote: Am 01.11.2011 09:09, schrieb Eric Sunshine: Perhaps the following alternative solution would be more palatable? It's still tremendously

Re: [Qemu-devel] [PATCH v3 2/4] softfloat: Avoid uint16 type conflict on Darwin

2011-11-01 Thread Eric Sunshine
On Nov 1, 2011, at 2:05 PM, Andreas Färber wrote: Am 01.11.2011 19:01, schrieb Peter Maydell: On 1 November 2011 17:59, Andreas Färber wrote: Apple's FSEvents.h has #include , which wants /usr/include/Block.h but due to case-insensitive file system and include path jungle gets QEMU's ./block.

Re: [Qemu-devel] [PATCH v2 2/4] softfloat: Avoid uint16 type conflict on Darwin

2011-11-01 Thread Eric Sunshine
On Nov 1, 2011, at 12:37 PM, Andreas Färber wrote: Am 01.11.2011 09:09, schrieb Eric Sunshine: Perhaps the following alternative solution would be more palatable? It's still tremendously ugly, but is localized to cocoa.m, thus less intrusive. -- >8 -- Subject: [PATCH] softfloa

[Qemu-devel] [PATCH] qemu-barrier: Fix build failure on PowerPC Mac OS X

2011-11-01 Thread Eric Sunshine
qemu-barrier.h tests if macro __powerpc__ is defined, however, the preprocessor on PowerPC Mac OS X defines only __POWERPC__, not __powerpc__. Resolve by testing instead for qemu-provided _ARCH_PPC. Signed-off-by: Eric Sunshine --- The anomalous __powerpc__ test appears only in qemu-barrier.h

Re: [Qemu-devel] [PATCH v2 2/4] softfloat: Avoid uint16 type conflict on Darwin

2011-11-01 Thread Eric Sunshine
ch informs cssmconfig.h that uint16 is already defined and that it should not apply its own definition. Additionally, ensure that is included after softfloat.h rather than before since some Cocoa headers expect type uint16 to exist. Signed-off-by: Eric Sunshine --- ui/cocoa.m |7 --- 1

Re: [Qemu-devel] [PATCH 2/2] Documentation: Add syntax for using sheepdog devices

2011-10-28 Thread Eric Sunshine
On Oct 28, 2011, at 5:13 AM, Ronnie Sahlberg wrote: Signed-off-by: Ronnie Sahlberg --- qemu-options.hx | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index c55080c..38d0f57 100644 --- a/qemu-options.hx +++ b/qe

Re: [Qemu-devel] [PATCH] Teach block/vdi about "discarded" (no longer allocated) blocks

2011-10-28 Thread Eric Sunshine
On Oct 28, 2011, at 4:00 AM, Kevin Wolf wrote: Am 27.10.2011 18:12, schrieb Stefan Weil: Am 27.10.2011 10:53, schrieb Kevin Wolf: Am 26.10.2011 21:51, schrieb Eric Sunshine: An entry in the VDI block map will hold an offset to the actual block if the block is allocated, or one of two

Re: [Qemu-devel] [PATCH] Teach block/vdi about "discarded" (no longer allocated) blocks

2011-10-27 Thread Eric Sunshine
On Oct 27, 2011, at 12:12 PM, Stefan Weil wrote: Am 27.10.2011 10:53, schrieb Kevin Wolf: Am 26.10.2011 21:51, schrieb Eric Sunshine: An entry in the VDI block map will hold an offset to the actual block if the block is allocated, or one of two specially-interpreted values if not allocated

Re: [Qemu-devel] [PATCH] Documentation: Describe NBD URL syntax

2011-10-27 Thread Eric Sunshine
On Oct 27, 2011, at 5:33 AM, Ronnie Sahlberg wrote: This patch adds a short description of how to specify a NBD device to QEMU. Syntax for both TCP and Unix Domain Sockets are provided as well as examples. Signed-off-by: Ronnie Sahlberg --- qemu-options.hx | 21 + 1 files c

Re: [Qemu-devel] [PATCH] Teach block/vdi about "discarded" (no longer allocated) blocks

2011-10-26 Thread Eric Sunshine
On Oct 26, 2011, at 4:24 PM, Stefan Weil wrote: Thank you for this extension. I have several remarks - see below. Am 26.10.2011 21:51, schrieb Eric Sunshine: An entry in the VDI block map will hold an offset to the actual block if the block is allocated, or one of two specially-interpreted

[Qemu-devel] [PATCH] Teach block/vdi about "discarded" (no longer allocated) blocks

2011-10-26 Thread Eric Sunshine
). VDI_IMAGE_BLOCK_ZERO (0xfffe) represents a "discarded" block (semantically zero-filled). block/vdi knows only about VDI_IMAGE_BLOCK_FREE. Teach it about VDI_IMAGE_BLOCK_ZERO. Signed-off-by: Eric Sunshine --- Without this patch, "qemu-image check" on a VDI image contain