[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH] hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU f
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH] hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU for pseries |
Date: |
Tue, 10 Jan 2017 11:39:24 +1100 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Mon, Jan 09, 2017 at 01:57:24PM +0100, Thomas Huth wrote:
> 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 <address@hidden>
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.
> ---
> 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 9dddaeb..71253f9 100644
> --- a/hw/ppc/spapr_cpu_core.c
> +++ b/hw/ppc/spapr_cpu_core.c
> @@ -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)
--
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
signature.asc
Description: PGP signature