Re: [libvirt] [PATCHv2 2/3] qemu: simplify PCI configfd handling in monitor

2011-03-21 Thread Daniel P. Berrange
On Tue, Mar 15, 2011 at 08:27:17PM -0600, Eric Blake wrote: This is also a bug fix - on the error path, qemu_hotplug would leave the configfd file leaked into qemu. At least the next attempt to hotplug a PCI device would reuse the same fdname, and when the qemu getfd monitor command gets a

[libvirt] [PATCHv2 2/3] qemu: simplify PCI configfd handling in monitor

2011-03-15 Thread Eric Blake
This is also a bug fix - on the error path, qemu_hotplug would leave the configfd file leaked into qemu. At least the next attempt to hotplug a PCI device would reuse the same fdname, and when the qemu getfd monitor command gets a new fd by the same name as an earlier one, it closes the earlier