[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] PV-GRUB: allow passing menu.lst as a ramdisk
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1216212647 -3600 # Node ID 9361e140fee3c657e10734cabdeefeaddd72b322 # Parent 0796aa57d297ec3434605850f024422bd58637d6 PV-GRUB: allow passing menu.lst as a ramdisk Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx> --- stubdom/grub/mini-os.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -r 0796aa57d297 -r 9361e140fee3 stubdom/grub/mini-os.c --- a/stubdom/grub/mini-os.c Wed Jul 16 11:25:06 2008 +0100 +++ b/stubdom/grub/mini-os.c Wed Jul 16 13:50:47 2008 +0100 @@ -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); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |