projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95d4283
)
xend: vncconsole config option mustn't be a string
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 5 Aug 2008 12:45:25 +0000
(13:45 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 5 Aug 2008 12:45:25 +0000
(13:45 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/image.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/image.py
b/tools/python/xen/xend/image.py
index d5b508d6f6646d8b46325502988b724a4d0e40f5..1add9875283596f9e479f5e4651b6e1658f52ae4 100644
(file)
--- 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')