]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Prepare for VCPUs vanishing while libvirt is not running
authorPeter Krempa <pkrempa@redhat.com>
Fri, 5 Aug 2016 12:48:27 +0000 (14:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 24 Aug 2016 19:44:47 +0000 (15:44 -0400)
commit133be0a9e27dc28dacba4b651b8633f1a85eead9
tree67fb895bb7d39401dbd6e767104d63d40342020f
parent6b4a23ff6c78bfc901a3c1a33460423ff702461f
qemu: domain: Prepare for VCPUs vanishing while libvirt is not running

Similarly to devices the guest may allow unplug of the VCPU if libvirt
is down. To avoid problems, refresh the vcpu state on reconnect. Don't
mess with the vcpu state otherwise.
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c