diff options
author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2017-03-01 17:54:41 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-03-03 11:30:59 +1100 |
commit | 24d8e5655f3da3f07cbb8689419ca9836c70fa94 (patch) | |
tree | f84e3078583d6802ee9c96e7c6ad41da2de1960a /hw | |
parent | 6f46dcb3e5b9352ad3479bd6f005576510ee45fb (diff) |
hw/ppc/spapr: Add POWER9 to pseries cpu models
Add POWER9 cpu to list of spapr core models which allows it to be specified
as the cpu model for a pseries guest (e.g. -machine pseries -cpu POWER9).
This now allows a POWER9 cpu to boot to userspace in tcg emulation for a
pseries machine with a legacy kernel.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/ppc/spapr_cpu_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/ppc/spapr_cpu_core.c b/hw/ppc/spapr_cpu_core.c index 90d682fe33..d37832d0e3 100644 --- a/hw/ppc/spapr_cpu_core.c +++ b/hw/ppc/spapr_cpu_core.c @@ -238,6 +238,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) |