From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxmCX-0002wg-HR for qemu-devel@nongnu.org; Sun, 28 Aug 2011 16:43:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxmCW-00024l-FK for qemu-devel@nongnu.org; Sun, 28 Aug 2011 16:43:29 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:37978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxmCW-00024R-8y for qemu-devel@nongnu.org; Sun, 28 Aug 2011 16:43:28 -0400 From: Stefan Weil Date: Sun, 28 Aug 2011 22:43:19 +0200 Message-Id: <1314564200-6872-7-git-send-email-weil@mail.berlios.de> In-Reply-To: <1314564200-6872-1-git-send-email-weil@mail.berlios.de> References: <1314564200-6872-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 6/7] virtio: Fix packing for w32 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Anthony Liguori Use QEMU_PACKED to eliminate the effects of compiler option -mms-bitfields. Cc: Anthony Liguori Signed-off-by: Stefan Weil --- hw/virtio-balloon.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 -- 1.7.0.4