qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] hypervisor property clashes with hypervisor node
@ 2014-08-30  5:55 Anton Blanchard
  2014-08-30 21:19 ` Alexander Graf
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2014-08-30  5:55 UTC (permalink / raw)
  To: nikunj, agraf; +Cc: qemu-ppc, qemu-devel

dtc fails on a recent QEMU snapshot:

ERROR (name_properties): "name" property in /hypervisor#1 is incorrect ("hypervisor" instead of base node name)

Looking at the device tree we have a hypervisor property:

# lsprop hypervisor
hypervisor       "kvm"

But we also have a hypervisor node, with a name that doesn't match:

# lsprop hypervisor#1/
name             "hypervisor"
compatible       "linux,kvm"
linux,phandle    7e5eb5d8 (2120136152)

Commit c08ce91d309c (spapr: add uuid/host details to device tree)
looks to have collided with an earlier patch. Remove the hypervisor
property.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: b/hw/ppc/spapr.c
===================================================================
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -362,10 +362,6 @@ static void *spapr_create_fdt_skel(hwadd
     _FDT((fdt_property_string(fdt, "model", "IBM pSeries (emulated by qemu)")));
     _FDT((fdt_property_string(fdt, "compatible", "qemu,pseries")));
 
-    if (kvm_enabled()) {
-        _FDT((fdt_property_string(fdt, "hypervisor", "kvm")));
-    }
-
     /*
      * Add info to guest to indentify which host is it being run on
      * and what is the uuid of the guest

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] hypervisor property clashes with hypervisor node
  2014-08-30  5:55 [Qemu-devel] [PATCH] hypervisor property clashes with hypervisor node Anton Blanchard
@ 2014-08-30 21:19 ` Alexander Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2014-08-30 21:19 UTC (permalink / raw)
  To: Anton Blanchard, nikunj; +Cc: qemu-ppc, qemu-devel



On 30.08.14 07:55, Anton Blanchard wrote:
> dtc fails on a recent QEMU snapshot:
> 
> ERROR (name_properties): "name" property in /hypervisor#1 is incorrect ("hypervisor" instead of base node name)
> 
> Looking at the device tree we have a hypervisor property:
> 
> # lsprop hypervisor
> hypervisor       "kvm"
> 
> But we also have a hypervisor node, with a name that doesn't match:
> 
> # lsprop hypervisor#1/
> name             "hypervisor"
> compatible       "linux,kvm"
> linux,phandle    7e5eb5d8 (2120136152)
> 
> Commit c08ce91d309c (spapr: add uuid/host details to device tree)
> looks to have collided with an earlier patch. Remove the hypervisor
> property.
> 
> Signed-off-by: Anton Blanchard <anton@samba.org>

Thanks, applied to ppc-next.


Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-30 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-30  5:55 [Qemu-devel] [PATCH] hypervisor property clashes with hypervisor node Anton Blanchard
2014-08-30 21:19 ` Alexander Graf

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).