From: Keir Fraser Date: Tue, 5 Aug 2008 12:45:25 +0000 (+0100) Subject: xend: vncconsole config option mustn't be a string X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14165^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ccecac2def886e62c4f50abfbe8b5d0d9a889bd7;p=xen.git xend: vncconsole config option mustn't be a string Signed-off-by: Keir Fraser --- 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')