]> xenbits.xensource.com Git - libvirt.git/commit
Fix startup with VNC password expiry on old QEMU
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 18 Jan 2011 18:37:45 +0000 (18:37 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Jan 2011 16:24:13 +0000 (16:24 +0000)
commit87a183f698d18dde75f348d5ab346baef12844cb
tree46a133e8264f32c789418715f508305f6cddf1d1
parentf0bbf960474b75c0323a3c989835a44d30bc9e7f
Fix startup with VNC password expiry on old QEMU

The code which set VNC passwords correctly had fallback for
the set_password command, but was lacking it for the
expire_password command. This made it impossible to start
a guest. It also failed to check whether QEMU was still
running after the initial 'set_password' command completed

* src/qemu/qemu_hotplug.c: Fix error handling when
  password expiry fails
* src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_text.c: Fix
  return code for missing expire_password command
src/qemu/qemu_hotplug.c
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_text.c