]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix list updating after disk/network/hostdev hot-unplug
authorMark McLoughlin <markmc@redhat.com>
Mon, 17 Aug 2009 14:05:22 +0000 (15:05 +0100)
committerMark McLoughlin <markmc@redhat.com>
Tue, 18 Aug 2009 08:41:56 +0000 (09:41 +0100)
commit0b973381dc513a35ddc4414c3b7a86448c780c35
treefa73be13f29e7889535736cb67cd9a0125b52155
parent331e1fcbeebbbfbc2bfeaf549d08a229a738a59c
Fix list updating after disk/network/hostdev hot-unplug

The current code makes a poor effort at updating the device arrays after
hot-unplug. Fix that and combine the two code paths into one.

* src/qemu_driver.c: fix list updating in qemudDomainDetachNetDevice(),
  qemudDomainDetachPciDiskDevice() and qemudDomainDetachHostPciDevice()
src/qemu_driver.c