ia64/xen-unstable

changeset 8233:5c44f0905ca0

Image.py should send 2 new arguments to qemu-dm for setting QEMU window
Title. 1 is const string "-domain-name", the other is the string of
domain name. At present imagy.py combines these two strings to 1. So
Qemu will fail to recognize it and fail to start.

Signed-off-by: Yongkang You <yongkang.you@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Dec 04 11:57:32 2005 +0100 (2005-12-04)
parents 99b9046a8df2
children f94923f2dd14
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Sun Dec 04 11:54:04 2005 +0100
     1.2 +++ b/tools/python/xen/xend/image.py	Sun Dec 04 11:57:32 2005 +0100
     1.3 @@ -261,7 +261,7 @@ class VmxImageHandler(ImageHandler):
     1.4  
     1.5          # Handle disk/network related options
     1.6          mac = None
     1.7 -        ret.append("-domain-name %s" % self.vm.info['name'])
     1.8 +        ret = ret + ["-domain-name", "%s" % self.vm.info['name']]
     1.9          for (name, info) in deviceConfig:
    1.10              if name == 'vbd':
    1.11                 uname = sxp.child_value(info, 'uname')