]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Reset PCI host devices after hot-unplug
authorMark McLoughlin <markmc@redhat.com>
Mon, 17 Aug 2009 14:05:23 +0000 (15:05 +0100)
committerMark McLoughlin <markmc@redhat.com>
Tue, 18 Aug 2009 08:41:57 +0000 (09:41 +0100)
commit12edef9a6aca5bd9a2ea18b73ca862f615684d84
treebfea29b178aec15958428025efb7cd94acf6caf1
parent4dbecff9fbd5b5d1154bc7a41a5d4dd00533b359
Reset PCI host devices after hot-unplug

When we hot-unplug a PCI host device from a guest, we should reset it.

Both managed and unmanaged devices should be reset, but only managed
devices should be re-attached.

* src/qemu_driver.c: reset devices in qemudDomainDetachHostPciDevice()
src/qemu_driver.c