]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Don't infer vcpu state
authorPeter Krempa <pkrempa@redhat.com>
Tue, 13 Sep 2016 15:56:08 +0000 (17:56 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 14 Sep 2016 10:56:57 +0000 (12:56 +0200)
commit64bc75f75606d0cc48432729b4618e2eae96accc
tree184e031f9c0910630597a0dd290e7002962a8e24
parent2a0e68be9185eecb9207ebdfdc4f8f0933f38bb3
qemu: domain: Don't infer vcpu state

Use the state information (online, hotpluggable) provided by the monitor
code rather than trying to infer it. This fixes an issue where on
architectures that require hotplug of multiple threads at once the
sub-cores would get updated as offline on daemon restart thus creating
an invalid configuration.

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