diff options
author | Tim Deegan <Tim.Deegan@xensource.com> | 2007-01-09 13:24:44 +0000 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@xensource.com> | 2007-01-09 13:24:44 +0000 |
commit | 38d6397a83af62e5036a09815552d12c416e803b (patch) | |
tree | b1c6104676b42e924ae2c54d04601c5273bd3854 /tools | |
parent | eb568d662406284527bf0de19420378b0125e89f (diff) | |
download | xen-38d6397a83af62e5036a09815552d12c416e803b.tar.gz xen-38d6397a83af62e5036a09815552d12c416e803b.tar.bz2 xen-38d6397a83af62e5036a09815552d12c416e803b.zip |
Fix xm create direct call to XendBootloader
Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xm/create.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index 4bc94932b8..175e0fffc7 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -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. |