mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
[XEND] Do not delete VNC password from configuration.
Fixes reboot of HVM guest when VNC authentication is in use. Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
98781cd038
commit
9033715d28
1 file changed
-6
@@ -361,9 +361,6 @@ class HVMImageHandler(ImageHandler):
|
||||
|
||||
if nographic:
|
||||
ret.append('-nographic')
|
||||
# remove password
|
||||
if vncpasswd_vmconfig:
|
||||
config.remove(['vncpasswd', vncpasswd_vmconfig])
|
||||
return ret
|
||||
|
||||
if vnc:
|
||||
@@ -395,9 +392,6 @@ class HVMImageHandler(ImageHandler):
|
||||
if vncpasswd != '':
|
||||
self.vm.storeVm("vncpasswd", vncpasswd)
|
||||
|
||||
# remove password
|
||||
config.remove(['vncpasswd', vncpasswd_vmconfig])
|
||||
|
||||
return ret
|
||||
|
||||
def createDeviceModel(self):
|
||||
|
||||