]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: process: Save vcpu ordering information on reconnect
authorPeter Krempa <pkrempa@redhat.com>
Tue, 6 Jun 2017 05:39:25 +0000 (07:39 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 6 Jun 2017 05:39:25 +0000 (07:39 +0200)
commitad3c6b229bcc91177db29d307e8ccc22c6c43565
tree3c9991fa9b2f64338c2b6e599b48cc2417fa13da
parent5004f121bc572c58d9721bf7bf3c3a1988720ba8
qemu: process: Save vcpu ordering information on reconnect

vCPU ordering information would not be updated if a vCPU emerged or
disappeared during the time libvirtd is not running. This allowed to
create invalid configuration like:

    [...]
    <vcpu id='56' enabled='yes' hotpluggable='yes' order='57'/>
    <vcpu id='57' enabled='yes' hotpluggable='yes' order='58'/>
    <vcpu id='58' enabled='yes' hotpluggable='yes'/>

Call the function that records the information on reconnect.

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