]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: libxl: vcpupin: Don't reset pinning when pinning to all pcpus
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 May 2015 12:19:50 +0000 (14:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 4 Jun 2015 08:52:31 +0000 (10:52 +0200)
commita02a161bb8a6caf0db4dd446ed1cdf53d97b40b9
tree6438368e3a6b5b214e82027d1688c92c5849ffe7
parentefaa7197b6661b8305f4c9ccb6ab943708fae833
qemu: libxl: vcpupin: Don't reset pinning when pinning to all pcpus

In the pre-NUMA ages pinning a vCPU to all pCPUs was eaqual to deleting
the pinning info. Now it does not entirely work that way. Pinning a vCPU
to all pCPUs might be a desired operation. Additionally removal of the
pinning will result into using the default pinning information at the
next boot which might be different from all vcpus.

This patch removes the false assumption that we should remove the
pinning after pinning to all vCPUs and tweaks the documentation for
virsh.

A later patch will implement a new flag for the virDomainPinVcpuFlags
API that will allow to remove the pinning in a sane way.
src/libxl/libxl_driver.c
src/qemu/qemu_driver.c
tools/virsh.pod