ia64/xen-unstable
changeset 12568:a1441f389dc1
Fix vncdisplay handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author | Ewan Mellor <ewan@xensource.com> |
---|---|
date | Fri Nov 24 14:05:59 2006 +0000 (2006-11-24) |
parents | d9f2de16ae5a |
children | cdd9e366aa59 |
files | tools/python/xen/xend/image.py |
line diff
1.1 --- a/tools/python/xen/xend/image.py Fri Nov 24 09:42:40 2006 +0000 1.2 +++ b/tools/python/xen/xend/image.py Fri Nov 24 14:05:59 2006 +0000 1.3 @@ -377,8 +377,8 @@ class HVMImageHandler(ImageHandler): 1.4 return ret 1.5 1.6 if vnc: 1.7 - vncdisplay = sxp.child_value(config, 'vncdisplay', 1.8 - int(self.vm.getDomid())) 1.9 + vncdisplay = int(sxp.child_value(config, 'vncdisplay', 1.10 + self.vm.getDomid())) 1.11 1.12 vncunused = sxp.child_value(config, 'vncunused') 1.13 if vncunused: