mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xend: fix hvm domain restore failure when using vncdisplay option.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
This commit is contained in:
1 parent
9fec701806
commit
12c3839b0d
1 file changed
+1
-1
@@ -409,7 +409,7 @@ class HVMImageHandler(ImageHandler):
|
||||
xenopts().get_vnclisten_address())
|
||||
vncdisplay = vnc_config.get('vncdisplay', 0)
|
||||
ret.append('-vnc')
|
||||
ret.append("%s:%d" % (vnclisten, vncdisplay))
|
||||
ret.append("%s:%s" % (vnclisten, vncdisplay))
|
||||
|
||||
if vnc_config.get('vncunused', 0):
|
||||
ret.append('-vncunused')
|
||||
|
||||