]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Fix hotplugging cpus with strict memory pinning
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 12 Dec 2014 14:36:45 +0000 (15:36 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 16 Dec 2014 10:15:27 +0000 (11:15 +0100)
commite3435caf6af41748204e542dee13ede8441d88c0
treeeeaf93e4c54f0029913beaea0aa52f3da55b6e7a
parentaf2a1f0587d88656f2c14265a63fbc11ecbd924e
qemu: Fix hotplugging cpus with strict memory pinning

When hot-plugging a VCPU into the guest, kvm needs to allocate some data
from the DMA zone, which might be in a memory node that's not allowed in
cpuset.mems.  Basically the same problem as there was with starting the
domain and due to which commit 7e72ac787848b7434c9359a57c1e2789d92350f8
exists.  This patch just extends it to hotplugging as well.

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

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_driver.c