Re: [Qemu-devel] [PATCH] powerpc pci: fixed packing of ranges[]

2012-07-21 Thread Stefan Hajnoczi
On Wed, Jul 18, 2012 at 05:41:36PM +0200, Alexander Graf wrote: > On 07/18/2012 05:40 PM, Stefan Weil wrote: > >Am 18.07.2012 10:22, schrieb Alexey Kardashevskiy: > >>By default mingw-gcc is trying to pack structures the way to > >>preserve binary compatibility with MS Visual C what leads to > >>in

Re: [Qemu-devel] [PATCH] powerpc pci: fixed packing of ranges[]

2012-07-18 Thread Alexander Graf
On 07/18/2012 05:40 PM, Stefan Weil wrote: Am 18.07.2012 10:22, schrieb Alexey Kardashevskiy: By default mingw-gcc is trying to pack structures the way to preserve binary compatibility with MS Visual C what leads to incorrect and unexpected padding in the PCI bus ranges property of the sPAPR PHB

Re: [Qemu-devel] [PATCH] powerpc pci: fixed packing of ranges[]

2012-07-18 Thread Stefan Weil
Am 18.07.2012 10:22, schrieb Alexey Kardashevskiy: By default mingw-gcc is trying to pack structures the way to preserve binary compatibility with MS Visual C what leads to incorrect and unexpected padding in the PCI bus ranges property of the sPAPR PHB. The patch replaces __attribute__((packed)

[Qemu-devel] [PATCH] powerpc pci: fixed packing of ranges[]

2012-07-18 Thread Alexey Kardashevskiy
By default mingw-gcc is trying to pack structures the way to preserve binary compatibility with MS Visual C what leads to incorrect and unexpected padding in the PCI bus ranges property of the sPAPR PHB. The patch replaces __attribute__((packed)) with more strict QEMU_PACKED which actually is __at