[libvirt] [PATCH v4] Pin guest to memory node on NUMA system

Martin Kletzander mkletzan at redhat.com
Wed Dec 4 12:32:56 UTC 2013


On Tue, Dec 03, 2013 at 06:30:26AM -0500, Shivaprasad G Bhat wrote:
> Version 4:
> cpuset/mems modification moved to a new funtion and removed duplicate code as
> per the comments on v3.
> 
> Version 3:
> Addressed comments on V2.
> 
> Version 2:
> Fixed the string formatting errors in v1.
> 
> The patch contains the fix for defect 1009880 reported at redhat bugzilla.
> The root cause is, 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 as to assign
> new nodes into the parent first. Change the nodes in the child nodes. Then
> remove the old nodes on the parent node.
> 
> Signed-off-by: Shivaprasad G Bhat <sbhat at linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_driver.c |  102 +++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 79 insertions(+), 23 deletions(-)
> 

ACK.

I polished the commit message a little bit and pushed the patch.
Thanks for the work.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131204/01f8529d/attachment-0001.sig>


More information about the libvir-list mailing list