projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b00a73e
)
PV-GRUB: allow passing menu.lst as a ramdisk
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 16 Jul 2008 12:50:47 +0000
(13:50 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 16 Jul 2008 12:50:47 +0000
(13:50 +0100)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
stubdom/grub/mini-os.c
patch
|
blob
|
history
diff --git
a/stubdom/grub/mini-os.c
b/stubdom/grub/mini-os.c
index 49e1f21f865c1922e505e8c5303ffa3992d4bbeb..ecb1191ab74e4c8873a1507b995247559e218c53 100644
(file)
--- a/
stubdom/grub/mini-os.c
+++ b/
stubdom/grub/mini-os.c
@@
-681,7
+681,9
@@
int main(int argc, char *argv[])
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);