From 38d6397a83af62e5036a09815552d12c416e803b Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Tue, 9 Jan 2007 13:24:44 +0000 Subject: Fix xm create direct call to XendBootloader Signed-off-by: John Levon --- tools/python/xen/xm/create.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') 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. -- cgit v1.2.3