[libvirt] [PATCH 2/4] Avoid bogus I/O event errors when closing the QEMU monitor

2012-09-28 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com After calling qemuMonitorClose(), it is still possible for the QEMU monitor I/O event callback to get invoked. This will trigger an error message because mon-fd has been set to -1 at this point. Silently ignore the case where mon-fd is -1, likewise for

Re: [libvirt] [PATCH 2/4] Avoid bogus I/O event errors when closing the QEMU monitor

2012-09-28 Thread Eric Blake
On 09/28/2012 08:58 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com After calling qemuMonitorClose(), it is still possible for the QEMU monitor I/O event callback to get invoked. This will trigger an error message because mon-fd has been set to -1 at this point.