Am 27.01.2013 22:47, schrieb Andreas Färber: > A basic assumption of CPU subtypes is that only specific models get > instantiated. A user is not supposed to instantiate an <arch>-cpu. > Suppress it via abstract = true, which also drops or32-cpu from > -cpu ? output. > > Cc: qemu-sta...@nongnu.org > Cc: Jia Liu <pro...@gmail.com> > Signed-off-by: Andreas Färber <afaer...@suse.de>
Ping? Can one of you please confirm that this change is okay or explain why not? My pending CPU type rename patch depends on this and Hard Freeze is this Friday. http://patchwork.ozlabs.org/patch/216066/ Thanks, Andreas > --- > target-openrisc/cpu.c | 2 +- > 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) > > diff --git a/target-openrisc/cpu.c b/target-openrisc/cpu.c > index 54876d9..14f2cbe 100644 > --- a/target-openrisc/cpu.c > +++ b/target-openrisc/cpu.c > @@ -159,7 +159,7 @@ static const TypeInfo openrisc_cpu_type_info = { > .parent = TYPE_CPU, > .instance_size = sizeof(OpenRISCCPU), > .instance_init = openrisc_cpu_initfn, > - .abstract = false, > + .abstract = true, > .class_size = sizeof(OpenRISCCPUClass), > .class_init = openrisc_cpu_class_init, > }; -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg