Skip to content

Commit

Permalink
hw/ppc/spapr: Add POWER9 to pseries cpu models
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sjitindarsingh authored and dgibson committed Mar 3, 2017
1 parent 6f46dcb commit 24d8e56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hw/ppc/spapr_cpu_core.c
Expand Up @@ -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)
Expand Down

0 comments on commit 24d8e56

Please sign in to comment.