From ccecac2def886e62c4f50abfbe8b5d0d9a889bd7 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 5 Aug 2008 13:45:25 +0100 Subject: [PATCH] xend: vncconsole config option mustn't be a string Signed-off-by: Keir Fraser --- tools/python/xen/xend/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.30.2