Message ID | 1484288903-18807-3-git-send-email-sjitindarsingh@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Jan 13, 2017 at 05:28:08PM +1100, Suraj Jitindar Singh wrote: > 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). > > Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> I realize you need this first for development, but for submission, please move it to the end of the series. The idea is if you're bisecting or iterating through commits, then when the POWER9 option appears, it will actually work. That won't be the case without the rest of the patches in the series. > --- > hw/ppc/spapr_cpu_core.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/hw/ppc/spapr_cpu_core.c b/hw/ppc/spapr_cpu_core.c > index c18632b..8cc7058 100644 > --- a/hw/ppc/spapr_cpu_core.c > +++ b/hw/ppc/spapr_cpu_core.c > @@ -358,6 +358,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)
diff --git a/hw/ppc/spapr_cpu_core.c b/hw/ppc/spapr_cpu_core.c index c18632b..8cc7058 100644 --- a/hw/ppc/spapr_cpu_core.c +++ b/hw/ppc/spapr_cpu_core.c @@ -358,6 +358,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)
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). Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> --- hw/ppc/spapr_cpu_core.c | 3 +++ 1 file changed, 3 insertions(+)