Re: [Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-30 Thread Marcel Apfelbaum
> Good. Maybe it makes sense to track these TODO items on a Wiki page, > such as http://wiki.qemu-project.org/Features/QOM/Machine? I posted a draft of this page. Feel free to add/make it more clear... Thanks, Marcel > > Cheers, > Andreas >

Re: [Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-30 Thread Marcel Apfelbaum
On Tue, 2014-04-29 at 16:55 +0200, Andreas Färber wrote: > Am 27.04.2014 11:08, schrieb Marcel Apfelbaum: > > On Sat, 2014-04-26 at 00:30 +0200, Andreas Färber wrote: > >> Am 09.04.2014 19:34, schrieb Marcel Apfelbaum: > >>> Next steps: > >>> - Replace QemuOpts queries by MachineState fields. > >>

Re: [Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-29 Thread Andreas Färber
Am 27.04.2014 11:08, schrieb Marcel Apfelbaum: > On Sat, 2014-04-26 at 00:30 +0200, Andreas Färber wrote: >> Am 09.04.2014 19:34, schrieb Marcel Apfelbaum: >>> Next steps: >>> - Replace QemuOpts queries by MachineState fields. >>> - Follow Paolo's suggestions to get rid of QEMUMachineInitArgs. >>

Re: [Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-29 Thread Marcel Apfelbaum
On Tue, 2014-04-29 at 15:41 +0200, Paolo Bonzini wrote: > Il 27/04/2014 11:08, Marcel Apfelbaum ha scritto: > >> > Also, how do we proceed with getting rid of registration path 1 > >> > elsewhere? If we leave it around, experience shows that people will copy > >> > the wrong of two possible ways fo

Re: [Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-29 Thread Paolo Bonzini
Il 27/04/2014 11:08, Marcel Apfelbaum ha scritto: > Also, how do we proceed with getting rid of registration path 1 > elsewhere? If we leave it around, experience shows that people will copy > the wrong of two possible ways for implementing new things. Well, the problem here is not the code modi

Re: [Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-27 Thread Marcel Apfelbaum
On Sat, 2014-04-26 at 00:30 +0200, Andreas Färber wrote: > Am 09.04.2014 19:34, schrieb Marcel Apfelbaum: > > > > This is a continuation of 'QEMU Machine as QOM object' effort. > > The scope of this series is to allow machine QOM-ification > > of all machines gradually, by removing the need for QE

Re: [Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-25 Thread Andreas Färber
Am 09.04.2014 19:34, schrieb Marcel Apfelbaum: > > This is a continuation of 'QEMU Machine as QOM object' effort. > The scope of this series is to allow machine QOM-ification > of all machines gradually, by removing the need for QEMUMachine registration > through vl.c . > > Now we will have 2 pa

Re: [Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-23 Thread Marcel Apfelbaum
On Wed, 2014-04-09 at 20:34 +0300, Marcel Apfelbaum wrote: > Cc: Andreas Färber > > V2 -> V3: > - Addressed Andreas's comments: > - Dropped QEMUMachineInitArgs's 'next' obsoleted field > in a separate patch > - Revision the separation into patches: > - Started using MachineC

[Qemu-devel] [PATCH V3 0/5] remove QEMUMachine indirection from MachineClass

2014-04-09 Thread Marcel Apfelbaum
Cc: Andreas Färber V2 -> V3: - Addressed Andreas's comments: - Dropped QEMUMachineInitArgs's 'next' obsoleted field in a separate patch - Revision the separation into patches: - Started using MachineClass for .machine early (3/5). - Merged hw/ppc changes with QEMUMachi