Re: [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures

2012-07-21 Thread Stefan Hajnoczi
On Wed, Jul 18, 2012 at 06:12:37PM +0200, Stefan Weil wrote: > Since commit 541dc0d47f10973c241e9955afc2aefc96adec51, > some new packed structures were added without using QEMU_PACKED. > > QEMU_PACKED is needed for compilations with MinGW. > For other platforms nothing changes. > > The code was f

Re: [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures

2012-07-18 Thread Peter Maydell
On 18 July 2012 17:42, Stefan Weil wrote: > Am 18.07.2012 18:33, schrieb Peter Maydell: >> On 18 July 2012 17:12, Stefan Weil wrote: >>> Since commit 541dc0d47f10973c241e9955afc2aefc96adec51, >>> some new packed structures were added without using QEMU_PACKED. >>> >>> QEMU_PACKED is needed for co

Re: [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures

2012-07-18 Thread Stefan Weil
Am 18.07.2012 18:33, schrieb Peter Maydell: On 18 July 2012 17:12, Stefan Weil wrote: Since commit 541dc0d47f10973c241e9955afc2aefc96adec51, some new packed structures were added without using QEMU_PACKED. QEMU_PACKED is needed for compilations with MinGW. For other platforms nothing changes.

Re: [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures

2012-07-18 Thread Peter Maydell
On 18 July 2012 17:12, Stefan Weil wrote: > Since commit 541dc0d47f10973c241e9955afc2aefc96adec51, > some new packed structures were added without using QEMU_PACKED. > > QEMU_PACKED is needed for compilations with MinGW. > For other platforms nothing changes. > > The code was fixed using this comm

[Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures

2012-07-18 Thread Stefan Weil
Since commit 541dc0d47f10973c241e9955afc2aefc96adec51, some new packed structures were added without using QEMU_PACKED. QEMU_PACKED is needed for compilations with MinGW. For other platforms nothing changes. The code was fixed using this command: git grep -la '__attribute__ ((packed))'|xargs