From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM893-0000Tz-K3 for qemu-devel@nongnu.org; Wed, 10 Oct 2012 22:05:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TM892-0006MR-Cq for qemu-devel@nongnu.org; Wed, 10 Oct 2012 22:05:05 -0400 Received: from e28smtp01.in.ibm.com ([122.248.162.1]:36469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM891-0006E8-Qm for qemu-devel@nongnu.org; Wed, 10 Oct 2012 22:05:04 -0400 Received: from /spool/local by e28smtp01.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 11 Oct 2012 07:34:56 +0530 From: Avik Sil Date: Thu, 11 Oct 2012 07:34:42 +0530 Message-Id: <1349921082-980-1-git-send-email-aviksil@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH] Add nvram to default boot device list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dwg@au1.ibm.com, agraf@suse.de, qemu-ppc@nongnu.org, qemu-devel@nongnu.org Cc: nikunj@linux.vnet.ibm.com This patch adds nvram specified boot device into qemu default boot_devices list. This helps firmware to boot from nvram specified boot device if no -boot option is specified. Suggested by: Alexander Graf Signed-off-by: Avik Sil --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vl.c b/vl.c index 48049ef..8adc40b 100644 --- a/vl.c +++ b/vl.c @@ -2349,7 +2349,7 @@ int main(int argc, char **argv, char **envp) const char *icount_option = NULL; const char *initrd_filename; const char *kernel_filename, *kernel_cmdline; - char boot_devices[33] = "cad"; /* default to HD->floppy->CD-ROM */ + char boot_devices[33] = "xcad"; /* default to NVRAM->HD->floppy->CD-ROM */ DisplayState *ds; DisplayChangeListener *dcl; int cyls, heads, secs, translation; -- 1.7.11.4