]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Unplug devices that disappeared when libvirtd was down
authorJiri Denemark <jdenemar@redhat.com>
Fri, 19 Jul 2013 13:08:29 +0000 (15:08 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 19 Jul 2013 16:45:48 +0000 (18:45 +0200)
commit0dfb8a1b9e7fd3c4bb85e0487a83726f08167654
treee4671cb03b003bdf927752e6a74d8388f6821601
parent58b147ad07c9432b53e66ca20aff74d812647c57
qemu: Unplug devices that disappeared when libvirtd was down

In case libvirtd is asked to unplug a device but the device is actually
unplugged later when libvirtd is not running, we need to detect that and
remove such device when libvirtd starts again and reconnects to running
domains.
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c