Re: [Qemu-devel] [PATCH 4/5] hw/ppc: remove QEMUMachine indirection

2014-03-25 Thread Marcel Apfelbaum
On Tue, 2014-03-25 at 15:00 +0100, Paolo Bonzini wrote: > Il 25/03/2014 14:46, Marcel Apfelbaum ha scritto: > > +mc->name = "pseries", > > +mc->desc = "pSeries Logical Partition (PAPR compliant)", > > +mc->is_default = 1, > > +mc->init = ppc_spapr_init, > > +mc->reset = ppc_spap

[Qemu-devel] [PATCH 4/5] hw/ppc: remove QEMUMachine indirection

2014-03-25 Thread Marcel Apfelbaum
No need for QEMUMachine anymore because its fields are passed to MachineClass. Signed-off-by: Marcel Apfelbaum --- hw/ppc/spapr.c | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index a11e121..4498fc2 100644 --- a/h

Re: [Qemu-devel] [PATCH 4/5] hw/ppc: remove QEMUMachine indirection

2014-03-25 Thread Paolo Bonzini
Il 25/03/2014 14:46, Marcel Apfelbaum ha scritto: +mc->name = "pseries", +mc->desc = "pSeries Logical Partition (PAPR compliant)", +mc->is_default = 1, +mc->init = ppc_spapr_init, +mc->reset = ppc_spapr_reset, +mc->block_default_type = IF_SCSI, +mc->max_cpus = MAX_CPUS

[Qemu-devel] [PATCH 4/5] hw/ppc: remove QEMUMachine indirection

2014-03-25 Thread Marcel Apfelbaum
No need for QEMUMachine anymore because its fields are passed to MachineClass. Signed-off-by: Marcel Apfelbaum --- hw/ppc/spapr.c | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index a11e121..4498fc2 100644 --- a/h