* [Qemu-devel] [PATCH] hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU for pseries
@ 2017-01-09 12:57 Thomas Huth
2017-01-10 0:39 ` David Gibson
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2017-01-09 12:57 UTC (permalink / raw)
To: David Gibson, qemu-devel; +Cc: qemu-ppc, Alexander Graf, Bharata B Rao
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 <thuth@redhat.com>
---
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)
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU for pseries
2017-01-09 12:57 [Qemu-devel] [PATCH] hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU for pseries Thomas Huth
@ 2017-01-10 0:39 ` David Gibson
2017-01-10 7:46 ` Thomas Huth
0 siblings, 1 reply; 3+ messages in thread
From: David Gibson @ 2017-01-10 0:39 UTC (permalink / raw)
To: Thomas Huth; +Cc: qemu-devel, qemu-ppc, Alexander Graf, Bharata B Rao
[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]
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 <thuth@redhat.com>
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU for pseries
2017-01-10 0:39 ` David Gibson
@ 2017-01-10 7:46 ` Thomas Huth
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2017-01-10 7:46 UTC (permalink / raw)
To: David Gibson; +Cc: qemu-devel, qemu-ppc, Alexander Graf, Bharata B Rao
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
On 10.01.2017 01:39, David Gibson wrote:
> 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 <thuth@redhat.com>
>
> 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-10 7:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 12:57 [Qemu-devel] [PATCH] hw/ppc/spapr: Allow POWER9 as hot-pluggable CPU for pseries Thomas Huth
2017-01-10 0:39 ` David Gibson
2017-01-10 7:46 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).