summaryrefslogtreecommitdiffstats
path: root/qemu-common.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2012-07-18 10:22:51 +0200
committerStefan Hajnoczi2012-07-21 11:54:40 +0200
commitc4889f54237aec5195d42de2c87292d6e41dd704 (patch)
tree4965065ee7eeca176718da4fff1c3b812d6088c2 /qemu-common.h
parentRevert "audio: Make PC speaker audio card available by default" (diff)
downloadqemu-c4889f54237aec5195d42de2c87292d6e41dd704.tar.gz
qemu-c4889f54237aec5195d42de2c87292d6e41dd704.tar.xz
qemu-c4889f54237aec5195d42de2c87292d6e41dd704.zip
powerpc pci: fixed packing of ranges[]
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 __attribute__((gcc_struct, packed)) on Windows. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Tested-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Stefan Weil <sw@weilnetz.de> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-common.h')
0 files changed, 0 insertions, 0 deletions