]> xenbits.xensource.com Git - libvirt.git/commit
qemu: fix live pinning to memory node on NUMA system
authorShivaprasad G Bhat <shivaprasadbhat@gmail.com>
Tue, 3 Dec 2013 11:30:26 +0000 (06:30 -0500)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 4 Dec 2013 12:32:07 +0000 (13:32 +0100)
commit81fae6b95cfe72d0f5a987b6b5cd4bf86e32798c
treeeacf44cb0ef41cac533be0b6b6e96b09904995aa
parent37a02bab1e718706aa5af65f34ea2bfee1649854
qemu: fix live pinning to memory node on NUMA system

Ever since the subcpusets(vcpu,emulator) were introduced, the parent
cpuset cannot be modified to remove the nodes that are in use by the
subcpusets.
The fix is to break the memory node modification into three steps:
 1. assign new nodes into the parent,
 2. change the nodes in the child nodes,
 3. remove the old nodes on the parent node.

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

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_driver.c