]> 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>
Sat, 19 Dec 2009 14:26:20 +0000 (08:26 -0600)
commit55ed56908f3280f56cffe0f9659e76dcb33c19fa
treed1e80900363d3084cd4777154bc8ef2d3a4b5823
parent139e310025d0cb654c5f905214a4c685398fd0c7
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>
(cherry picked from commit 2dd650e58acbafedc7bf34045b7f81bb6c912e72)
migration-unix.c