All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: "Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>
Subject: [PATCH] PVM guests and p[yv]grub and the extra= parameter
Date: Wed, 16 Jul 2008 12:24:17 +0100	[thread overview]
Message-ID: <20080716112417.GI4715@implementation.uk.xensource.com> (raw)
In-Reply-To: <20080715221833578.00000080236@djm-pc>

PV-GRUB: allow passing menu.lst as a ramdisk

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>

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

  reply	other threads:[~2008-07-16 11:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 17:17 PVM guests and p[yv]grub and the extra= parameter Dan Magenheimer
2008-07-02 17:22 ` Keir Fraser
2008-07-02 17:29 ` Samuel Thibault
2008-07-02 17:42   ` Dan Magenheimer
2008-07-16  1:28     ` Samuel Thibault
2008-07-16  4:18       ` Dan Magenheimer
2008-07-16 11:24         ` Samuel Thibault [this message]
2008-07-16 12:35         ` Dan Magenheimer
2008-07-16 12:52           ` Samuel Thibault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080716112417.GI4715@implementation.uk.xensource.com \
    --to=samuel.thibault@eu.citrix.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.