* [Patch] Enable domU boot without xen specific arg by pygrub
@ 2009-03-09 2:36 INAKOSHI Hiroya
0 siblings, 0 replies; only message in thread
From: INAKOSHI Hiroya @ 2009-03-09 2:36 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 241 bytes --]
This patch makes domUs bring up without xen specific args to guest
kernels. A domU should be booted without args parameter because
tools/examples/xmexample1 doesn't have one.
Signed-off-by: INAKOSHI Hiroya <inakoshi.hiroya@jp.fujitsu.com>
[-- Attachment #2: pygrub_args.patch --]
[-- Type: text/plain, Size: 774 bytes --]
diff -r dd489125a2e7 tools/pygrub/src/pygrub
--- a/tools/pygrub/src/pygrub Fri Mar 06 19:18:39 2009 +0000
+++ b/tools/pygrub/src/pygrub Mon Mar 09 11:21:59 2009 +0900
@@ -605,7 +605,7 @@
isconfig = False
# what was passed in
- incfg = { "kernel": None, "ramdisk": None, "args": None }
+ incfg = { "kernel": None, "ramdisk": None, "args": "" }
# what grub or sniffing chose
chosencfg = { "kernel": None, "ramdisk": None, "args": None }
# what to boot
@@ -641,7 +641,7 @@
# debug
if isconfig:
- chosencfg = run_grub(file, entry)
+ chosencfg = run_grub(file, entry, fs, incfg["args"])
print " kernel: %s" % chosencfg["kernel"]
if img.initrd:
print " initrd: %s" % chosencfg["ramdisk"]
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-09 2:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 2:36 [Patch] Enable domU boot without xen specific arg by pygrub INAKOSHI Hiroya
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.