# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1168349084 0
# Node ID 3f8930dc7d9085f61eb83662577f44fdaa7d18ba
# Parent 4d3ac395ea57ee5aa35589822f0096aab0578edb
Fix xm create direct call to XendBootloader
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
tools/python/xen/xm/create.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
diff -r 4d3ac395ea57 -r 3f8930dc7d90 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Tue Jan 09 13:24:43 2007 +0000
+++ b/tools/python/xen/xm/create.py Tue Jan 09 13:24:44 2007 +0000
@@ -719,8 +719,11 @@ def run_bootloader(vals, config_image):
"--entry= directly.")
vals.bootargs = "--entry=%s" %(vals.bootentry,)
+ kernel = sxp.child_value(config_image, 'kernel')
+ ramdisk = sxp.child_value(config_image, 'ramdisk')
+ args = sxp.child_value(config_image, 'args')
return bootloader(vals.bootloader, file, not vals.console_autoconnect,
- vals.bootargs, config_image)
+ vals.bootargs, kernel, ramdisk, args)
def make_config(vals):
"""Create the domain configuration.
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|