|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] PVM guests and p[yv]grub and the extra= parameter
PV-GRUB: allow passing menu.lst as a ramdisk
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
diff -r 530efcde6203 stubdom/grub/mini-os.c
--- a/stubdom/grub/mini-os.c Wed Jul 16 10:43:33 2008 +0100
+++ b/stubdom/grub/mini-os.c Wed Jul 16 12:24:02 2008 +0100
@@ -681,7 +681,9 @@
config_file[sizeof(config_file) - 1] = 0;
if (!strncmp(config_file, "(nd)", 4))
preset_menu = "dhcp";
- } else
+ } else if (start_info.mod_len)
+ preset_menu = (void*) start_info.mod_start;
+ else
preset_menu = "dhcp --with-configfile";
mbi.drives_addr = BOOTSEC_LOCATION + (60 * 1024);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|