]> git.proxmox.com Git - qemu.git/commit
Avoid permanently disabled QEMU monitor when UNIX migration fails
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 11 Dec 2009 21:01:14 +0000 (21:01 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 18 Dec 2009 17:26:26 +0000 (11:26 -0600)
commit2dd650e58acbafedc7bf34045b7f81bb6c912e72
treefd86ef39523287296ca4adc82d48d5a8d264ca15
parent092493be3caab1ac77f4223b4c3fb0975d1ed490
Avoid permanently disabled QEMU monitor when UNIX migration fails

If a UNIX migration command is attempt to a UNIX socket which does
not exist, then the monitor is suspended, but never resumed. This
prevents any further use of the monitor

* migration-unix.c: Only call migrate_fd_monitor_suspend() once
  connected to the UNIX socket.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration-unix.c