qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Add nvram to default boot device list
@ 2012-10-11  2:04 Avik Sil
  2012-10-11 12:48 ` Alexander Graf
  2012-10-11 22:59 ` David Gibson
  0 siblings, 2 replies; 12+ messages in thread
From: Avik Sil @ 2012-10-11  2:04 UTC (permalink / raw)
  To: dwg, agraf, qemu-ppc, qemu-devel; +Cc: nikunj

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 <agraf@suse.de>

Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com>
---
 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

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

end of thread, other threads:[~2012-10-16 11:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-11  2:04 [Qemu-devel] [PATCH] Add nvram to default boot device list Avik Sil
2012-10-11 12:48 ` Alexander Graf
2012-10-11 22:59 ` David Gibson
2012-10-12  0:03   ` Alexander Graf
2012-10-12  0:28     ` David Gibson
2012-10-12  0:29       ` Alexander Graf
2012-10-12  3:02         ` Chris Wright
2012-10-16 11:45           ` Avik Sil
2012-10-16  3:44     ` Avik Sil
2012-10-16  8:04       ` Alexander Graf
2012-10-16  8:37         ` Andreas Färber
2012-10-12  7:12   ` Avik Sil

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