[Qemu-devel] [PATCH] pc: reduce duplication in compat machine types

2012-03-26 Thread Michael S. Tsirkin
Make it easier to add compat properties, by adding macros for properties duplicated across machine types. Note: there could be bugs in compat properties, this patch does not attempt to address them, the code is bug for bug identical to the original. Tested by: generated a preprocessed file,

Re: [Qemu-devel] [PATCH] pc: reduce duplication in compat machine types

2012-03-26 Thread Avi Kivity
On 03/26/2012 11:40 AM, Michael S. Tsirkin wrote: Make it easier to add compat properties, by adding macros for properties duplicated across machine types. Note: there could be bugs in compat properties, this patch does not attempt to address them, the code is bug for bug identical to the

Re: [Qemu-devel] [PATCH] pc: reduce duplication in compat machine types

2012-03-26 Thread Andreas Färber
Am 26.03.2012 11:40, schrieb Michael S. Tsirkin: Make it easier to add compat properties, by adding macros for properties duplicated across machine types. Note: there could be bugs in compat properties, this patch does not attempt to address them, the code is bug for bug identical to the

Re: [Qemu-devel] [PATCH] pc: reduce duplication in compat machine types

2012-03-26 Thread Michael S. Tsirkin
On Mon, Mar 26, 2012 at 03:12:37PM +0200, Andreas Färber wrote: Am 26.03.2012 11:40, schrieb Michael S. Tsirkin: Make it easier to add compat properties, by adding macros for properties duplicated across machine types. Note: there could be bugs in compat properties, this patch does

Re: [Qemu-devel] [PATCH] pc: reduce duplication in compat machine types

2012-03-26 Thread Michael S. Tsirkin
On Mon, Mar 26, 2012 at 02:51:38PM +0200, Avi Kivity wrote: On 03/26/2012 11:40 AM, Michael S. Tsirkin wrote: Make it easier to add compat properties, by adding macros for properties duplicated across machine types. Note: there could be bugs in compat properties, this patch does not