Message ID | 1314564200-6872-7-git-send-email-weil@mail.berlios.de |
---|---|
State | Superseded |
Headers | show |
diff --git a/hw/virtio-balloon.h b/hw/virtio-balloon.h index e20cf6b..73300dd 100644 --- a/hw/virtio-balloon.h +++ b/hw/virtio-balloon.h @@ -50,6 +50,6 @@ struct virtio_balloon_config typedef struct VirtIOBalloonStat { uint16_t tag; uint64_t val; -} __attribute__((packed)) VirtIOBalloonStat; +} QEMU_PACKED VirtIOBalloonStat; #endif
Use QEMU_PACKED to eliminate the effects of compiler option -mms-bitfields. Cc: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> --- hw/virtio-balloon.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)