mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 03:19:27 +00:00
ppc: spapr: use cpu type name directly
replace sPAPRCPUCoreClass::cpu_class with cpu type name since it were needed just to get that at points it were accessed. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
committed by
David Gibson
parent
44cd95e31a
commit
b51d3c8818
@ -34,7 +34,7 @@ typedef struct sPAPRCPUCore {
|
||||
|
||||
typedef struct sPAPRCPUCoreClass {
|
||||
DeviceClass parent_class;
|
||||
ObjectClass *cpu_class;
|
||||
const char *cpu_type;
|
||||
} sPAPRCPUCoreClass;
|
||||
|
||||
char *spapr_get_cpu_core_type(const char *model);
|
||||
|
Reference in New Issue
Block a user