From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxmCX-0002wj-So 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 1QxmCX-00025P-3t for qemu-devel@nongnu.org; Sun, 28 Aug 2011 16:43:29 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:37984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxmCW-000256-S8 for qemu-devel@nongnu.org; Sun, 28 Aug 2011 16:43:29 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 0ED477283049 for ; Sun, 28 Aug 2011 22:43:28 +0200 (CEST) Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NJxUBvHd0slg for ; Sun, 28 Aug 2011 22:43:27 +0200 (CEST) Received: from flocke.weilnetz.de (p54ADA446.dip.t-dialin.net [84.173.164.70]) by v220110690675601.yourvserver.net (Postfix) with ESMTPSA id E40BB7283048 for ; Sun, 28 Aug 2011 22:43:25 +0200 (CEST) Received: from stefan by flocke.weilnetz.de with local (Exim 4.72) (envelope-from ) id 1QxmCT-0001nS-JG for qemu-devel@nongnu.org; Sun, 28 Aug 2011 22:43:25 +0200 From: Stefan Weil Date: Sun, 28 Aug 2011 22:43:13 +0200 Message-Id: <1314564200-6872-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 0/7] Fix packing for MinGW with -mms-bitfields List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers These patches fix the packing of structures which were affected by the new compiler attribute -mms-bitfields (which is needed for glib-2.0). I compiled qemu.exe with and without -mms-bitfields and compared the resulting struct alignment using pahole and codiff. The patches are split for different maintainers. Feel free to combine them on commit. I suggest replacing the remaining code with __attribute__((packed)) or __attribute__((__packed__)) in separate patches. Cheers, Stefan [PATCH 1/7] Add new macro QEMU_PACKED for packed C structures [PATCH 2/7] block/vvfat: Fix packing for w32 [PATCH 3/7] acpi: Fix packing for w32 [PATCH 4/7] hpet: Fix packing for w32 [PATCH 5/7] usb: Fix packing for w32 [PATCH 6/7] virtio: Fix packing for w32 [PATCH 7/7] slirp: Fix packing for w32