On Fri, Mar 27, 2015 at 02:12:04PM +0100, Peter Krempa wrote:
Since commit a39f69d2b libvirt would fail to start a VM if the
default cpu set
was specified and individual vcpus were pinned to cpus outside of that cpuset.
Peter Krempa (8):
qemu: cgroup: Store auto cpuset instead of re-creating it on demand
qemu: cgroup: Refactor setup for IOThread cgroups
qemu: cgroup: Properly set up vcpu pinning
qemu: cgroup: Use priv->autoCpuset instead of using
qemuPrepareCpumap()
qemu: cgroup: Rename qemuSetupCgroupEmulatorPin to
qemuSetupCgroupCpusetCpus
qemu: cgroup: Kill qemuSetupCgroupIOThreadsPin()
qemu: cgroup: Kill qemuSetupCgroupVcpuPin()
qemu: Copy bitmap in a sane way
src/qemu/qemu_cgroup.c | 150 +++++++++++++++---------------------------------
src/qemu/qemu_cgroup.h | 13 +----
src/qemu/qemu_domain.c | 1 +
src/qemu/qemu_domain.h | 3 +
src/qemu/qemu_driver.c | 21 +++----
src/qemu/qemu_process.c | 93 +++++++++---------------------
src/qemu/qemu_process.h | 2 -
7 files changed, 85 insertions(+), 198 deletions(-)
ACK series.
Nice cleanup, that will show the NUMA topology witch! [1]
Jan
[1]
https://www.redhat.com/archives/libvir-list/2015-March/msg01581.html