diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-08-05 13:45:25 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-08-05 13:45:25 +0100 |
commit | ccecac2def886e62c4f50abfbe8b5d0d9a889bd7 (patch) | |
tree | bf7b15493550203eca782603ec033d65e8d77ac1 | |
parent | 95d4283bb4284ffb463bde3670d80d06cf96c151 (diff) | |
download | xen-ccecac2def886e62c4f50abfbe8b5d0d9a889bd7.tar.gz xen-ccecac2def886e62c4f50abfbe8b5d0d9a889bd7.tar.bz2 xen-ccecac2def886e62c4f50abfbe8b5d0d9a889bd7.zip |
xend: vncconsole config option mustn't be a string
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-rw-r--r-- | tools/python/xen/xend/image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index d5b508d6f6..1add987528 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -114,7 +114,7 @@ class ImageHandler: self.display = vmConfig['platform'].get('display') self.xauthority = vmConfig['platform'].get('xauthority') - self.vncconsole = vmConfig['platform'].get('vncconsole') + self.vncconsole = int(vmConfig['platform'].get('vncconsole', 0)) self.dmargs = self.parseDeviceModelArgs(vmConfig) self.pid = None rtc_timeoffset = vmConfig['platform'].get('rtc_timeoffset') |