From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuGva-0004ze-1a for qemu-devel@nongnu.org; Tue, 10 Jun 2014 03:57:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuGvQ-0004MW-T2 for qemu-devel@nongnu.org; Tue, 10 Jun 2014 03:57:05 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:47811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuGvQ-0004MO-4N for qemu-devel@nongnu.org; Tue, 10 Jun 2014 03:56:56 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Jun 2014 17:56:52 +1000 From: Nikunj A Dadhania Date: Tue, 10 Jun 2014 13:26:44 +0530 Message-Id: <1402387005-28901-2-git-send-email-nikunj@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 2/3] spapr: Add "qemu, boot-menu" property to /chosen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aik@au1.ibm.com, qemu-ppc@nongnu.org, agraf@suse.de, nikunj@linux.vnet.ibm.com From: Avik Sil This is required to enable boot menu display during booting Signed-off-by: Avik Sil Signed-off-by: Nikunj A Dadhania --- hw/ppc/spapr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index ff37319..c6760a1 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -376,6 +376,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.3.1