ia64/xen-unstable

changeset 13340:3f8930dc7d90

Fix xm create direct call to XendBootloader

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:44 2007 +0000 (2007-01-09)
parents 4d3ac395ea57
children 3040ba0f2d3d
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Tue Jan 09 13:24:43 2007 +0000
     1.2 +++ b/tools/python/xen/xm/create.py	Tue Jan 09 13:24:44 2007 +0000
     1.3 @@ -719,8 +719,11 @@ def run_bootloader(vals, config_image):
     1.4               "--entry= directly.")
     1.5          vals.bootargs = "--entry=%s" %(vals.bootentry,)
     1.6  
     1.7 +    kernel = sxp.child_value(config_image, 'kernel')
     1.8 +    ramdisk = sxp.child_value(config_image, 'ramdisk')
     1.9 +    args = sxp.child_value(config_image, 'args')
    1.10      return bootloader(vals.bootloader, file, not vals.console_autoconnect,
    1.11 -                      vals.bootargs, config_image)
    1.12 +                      vals.bootargs, kernel, ramdisk, args)
    1.13  
    1.14  def make_config(vals):
    1.15      """Create the domain configuration.