hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU for pseries
PATCH 1/1 hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU for pseries
Running "qemu-system-ppc64 -M pseries -cpu POWER9" currently does not work yet and results in this error message:
qemu-system-ppc64: Unable to find sPAPR CPU Core definition
Since we want to support the pseries machine with POWER9 in the future, allow using POWER9 as hot-pluggable CPU there, too.
--- hw/ppc/spapr_cpu_core.c | 3 +++ 1 file changed, 3 insertions(+)
hw/ppc/spapr_cpu_core.c +3 -0
@@ -360,6 +360,9 @@ static const char *spapr_core_models[] = {/* POWER8NVL */ "POWER8NVL_v1.0" , + +/* POWER9 */ + "POWER9_v1.0", };void spapr_cpu_core_class_init (ObjectClass *oc,void *data)
Signature · 1 line
1.8.3.1
Quoted 9 lines · Thomas Huth
Running "qemu-system-ppc64 -M pseries -cpu POWER9" currently does not work yet and results in this error message:
qemu-system-ppc64: Unable to find sPAPR CPU Core definition
Since we want to support the pseries machine with POWER9 in the future, allow using POWER9 as hot-pluggable CPU there, too.
Signed-off-by Thomas Huth <[email protected]>
I'm not sure it makes sense to apply this until we have at least the basics of the POWER9 PAPR pieces implemented in qemu.
Quoted 18 lines
--- hw/ppc/spapr_cpu_core.c | 3 +++ 1 file changed, 3 insertions(+)hw/ppc/spapr_cpu_core.c +3
-0@@ -360,6 +360,9 @@ static const char *spapr_core_models[] = {/* POWER8NVL */ "POWER8NVL_v1.0" , + +/* POWER9 */ + "POWER9_v1.0", };void spapr_cpu_core_class_init (ObjectClass *oc,void *data)
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Quoted 6 lines · David Gibson
Quoted 5 lines · Thomas Huth
Running "qemu-system-ppc64 -M pseries -cpu POWER9" currently does not work yet and results in this error message:
qemu-system-ppc64: Unable to find sPAPR CPU Core definition
Quoted 7 lines
Quoted 4 lines
Since we want to support the pseries machine with POWER9 in the future, allow using POWER9 as hot-pluggable CPU there, too.
Signed-off-by Thomas Huth <[email protected]>I'm not sure it makes sense to apply this until we have at least the basics of the POWER9 PAPR pieces implemented in qemu.
OK, then I'll keep it in my private branch for my experiments...
Thomas