xend: fix hvm domain restore failure when using vncdisplay option.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2007-10-25 09:44:11 +01:00
1 parent 9fec701806
commit 12c3839b0d
1 file changed
+1 -1
+1 -1
View File
@@ -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')
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.