From d50f71a5fda5515021a33e8e391decb5602f6328 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 17 May 2012 11:50:05 +0200 Subject: [PATCH] PPC: e500: dt: create /hypervisor node dynamically Signed-off-by: Alexander Graf --- hw/ppce500_mpc8544ds.c | 1 + pc-bios/mpc8544ds.dtb | Bin 1924 -> 1904 bytes pc-bios/mpc8544ds.dts | 3 --- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c index c046206e16..54e7ec7c20 100644 --- a/hw/ppce500_mpc8544ds.c +++ b/hw/ppce500_mpc8544ds.c @@ -118,6 +118,7 @@ static int mpc8544_load_device_tree(CPUPPCState *env, tb_freq = kvmppc_get_tbfreq(); /* indicate KVM hypercall interface */ + qemu_devtree_add_subnode(fdt, "/hypervisor"); qemu_devtree_setprop_string(fdt, "/hypervisor", "compatible", "linux,kvm"); kvmppc_get_hypercall(env, hypercall, sizeof(hypercall)); diff --git a/pc-bios/mpc8544ds.dtb b/pc-bios/mpc8544ds.dtb index a85b93c1e6e66c318c3f0c1910abae78f4b78f5e..8194aa2e6f292fb34023feb596aa19448b8af0d0 100644 GIT binary patch delta 35 rcmZqS|G+13f%o5A1_t&51_lNT1_ri}i2~w`G8;A2*)}J$DKY{8vYZHv delta 47 zcmeys*TOGwf%o5A1_t&P1_lNT1_ri_i2~w`1{*ch*|-@qDhpDJ$})@di#EHlX)yu- DKg10i diff --git a/pc-bios/mpc8544ds.dts b/pc-bios/mpc8544ds.dts index 1fcb8658fd..2ca7c5421e 100644 --- a/pc-bios/mpc8544ds.dts +++ b/pc-bios/mpc8544ds.dts @@ -103,7 +103,4 @@ chosen { linux,stdout-path = "/soc8544@e0000000/serial@4500"; }; - - hypervisor { - }; }; -- GitLab