Re: [Qemu-devel] [Qemu-ppc] [PATCHv2 07/10] pseries: DEFINE_SPAPR_MACHINE

2015-12-08 Thread Alexey Kardashevskiy
On 12/09/2015 02:30 PM, Alexey Kardashevskiy wrote: On 12/08/2015 01:38 PM, Sam Bobroff wrote: On Mon, Dec 07, 2015 at 02:34:37PM +1100, David Gibson wrote: At the moment all the class_init functions and TypeInfo structures for the various versioned pseries machine types are open-coded. As mor

Re: [Qemu-devel] [Qemu-ppc] [PATCHv2 07/10] pseries: DEFINE_SPAPR_MACHINE

2015-12-08 Thread Alexey Kardashevskiy
On 12/08/2015 01:38 PM, Sam Bobroff wrote: On Mon, Dec 07, 2015 at 02:34:37PM +1100, David Gibson wrote: At the moment all the class_init functions and TypeInfo structures for the various versioned pseries machine types are open-coded. As more versions are created this is getting increasingly c

Re: [Qemu-devel] [Qemu-ppc] [PATCHv2 07/10] pseries: DEFINE_SPAPR_MACHINE

2015-12-07 Thread Sam Bobroff
On Mon, Dec 07, 2015 at 02:34:37PM +1100, David Gibson wrote: > At the moment all the class_init functions and TypeInfo structures for the > various versioned pseries machine types are open-coded. As more versions > are created this is getting increasingly clumsy. > > This patch borrows the appro