]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix coldplug of vcpus
authorPeter Krempa <pkrempa@redhat.com>
Wed, 21 Sep 2016 05:46:25 +0000 (07:46 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 30 Sep 2016 06:25:20 +0000 (08:25 +0200)
commit80ea1cf6be4ab916fc7e2f8bb2a93d5337b272ac
treedbdd76c55bccad90527f1aa48b962f37b03bb3c7
parent6ff3e650124b167b04cc4fd20ab0e8e3cf859db1
qemu: Fix coldplug of vcpus

virDomainDefSetVcpus was not designed to handle coldplug of vcpus now
that we can set state of vcpus individually.

Introduce qemuDomainSetVcpusConfig that properly handles state changes
of vcpus when coldplugging so that invalid configurations are not
created.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1375939
src/qemu/qemu_driver.c