ia64/xen-unstable

changeset 18266:0afe29785305

xend: vncconsole config option mustn't be a string
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Aug 05 13:45:25 2008 +0100 (2008-08-05)
parents 18b41609a980
children bf4ef45e6a38
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Tue Aug 05 13:23:59 2008 +0100
     1.2 +++ b/tools/python/xen/xend/image.py	Tue Aug 05 13:45:25 2008 +0100
     1.3 @@ -114,7 +114,7 @@ class ImageHandler:
     1.4  
     1.5          self.display = vmConfig['platform'].get('display')
     1.6          self.xauthority = vmConfig['platform'].get('xauthority')
     1.7 -        self.vncconsole = vmConfig['platform'].get('vncconsole')
     1.8 +        self.vncconsole = int(vmConfig['platform'].get('vncconsole', 0))
     1.9          self.dmargs = self.parseDeviceModelArgs(vmConfig)
    1.10          self.pid = None
    1.11          rtc_timeoffset = vmConfig['platform'].get('rtc_timeoffset')