]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainSetNumaParamsLive: Check for NUMA mode more wisely
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Jul 2015 16:11:33 +0000 (18:11 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 14 Jul 2015 08:29:19 +0000 (10:29 +0200)
commit1cf25f633414dd844601965174b81bc9eb207d6b
tree075417310a830108723f7e651fdabdd96062674b
parent0e3ad241f3f421c23bbe2cbe11a70f8e9184dc65
qemuDomainSetNumaParamsLive: Check for NUMA mode more wisely

https://bugzilla.redhat.com/show_bug.cgi?id=1232663

In one of my previous ptaches (bcd9a564) I've tried to fix the problem
that we blindly assumed strict NUMA mode for guests. This led to
several problems like us pinning a domain onto a nodeset via libnuma
among with CGroups. Once the nodeset was changed by user, well, it did
not result in desired effect. See the original commit for more info.
But, the commit I wrote had a bug: when NUMA parameters are changed on
a running domain we require domain to be strictly pinned onto a
nodeset. Due to a typo a condition was mis-evaluated.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c