qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 05/32] spapr: Add "qemu, boot-menu" property to /chos


From: Alexander Graf
Subject: [Qemu-devel] [PULL 05/32] spapr: Add "qemu, boot-menu" property to /chosen
Date: Fri, 27 Jun 2014 13:51:57 +0200

From: Avik Sil <address@hidden>

This is required to enable boot menu display during booting

Signed-off-by: Avik Sil <address@hidden>
Signed-off-by: Nikunj A Dadhania <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
---
 hw/ppc/spapr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 82f183f..f4d464a 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -442,6 +442,9 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base,
     if (boot_device) {
         _FDT((fdt_property_string(fdt, "qemu,boot-device", boot_device)));
     }
+    if (boot_menu) {
+        _FDT((fdt_property_cell(fdt, "qemu,boot-menu", boot_menu)));
+    }
     _FDT((fdt_property_cell(fdt, "qemu,graphic-width", graphic_width)));
     _FDT((fdt_property_cell(fdt, "qemu,graphic-height", graphic_height)));
     _FDT((fdt_property_cell(fdt, "qemu,graphic-depth", graphic_depth)));
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]