]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: vcpu: Clear vcpu order information rather than making it invalid v2.3.0-rc2
authorPeter Krempa <pkrempa@redhat.com>
Wed, 21 Sep 2016 05:59:57 +0000 (07:59 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 30 Sep 2016 06:25:20 +0000 (08:25 +0200)
commita88c65e490d45e73715823b455799a58869ddd0e
tree2c8deb9b87bbf3cf6b1e4d944204969547c33ea6
parent80ea1cf6be4ab916fc7e2f8bb2a93d5337b272ac
qemu: vcpu: Clear vcpu order information rather than making it invalid

Certain operations may make the vcpu order information invalid. Since
the order is primarily used to ensure migration compatibility and has
basically no other user benefits, clear the order prior to certain
operations and document that it may be cleared.

All the operations that would clear the order can still be properly
executed by defining a new domain configuration rather than using the
helper APIs.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1370357
docs/formatdomain.html.in
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_driver.c