]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: driver: Don't return automatic NUMA vCPU pinning data for persistentDef
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 Sep 2016 05:37:16 +0000 (07:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 21 Sep 2016 14:32:36 +0000 (16:32 +0200)
commit552892c59d887b7e24c18b20b208141913fa99d4
tree360c6c98a2fe79835b1791cf2dba54ce6729f88f
parent63aac8c299ed19866495d3b83d3c5d851af152d2
qemu: driver: Don't return automatic NUMA vCPU pinning data for persistentDef

Calling virDomainGetVcpuPinInfo on a live VM with automatic NUMA pinning
and VIR_DOMAIN_AFFECT_CONFIG would return the automatic pinning data
in some cases which is bogus. Use the autoCpuset property only when
called on a live definition.

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