libvirt/src/qemu
Peter Krempa f0fa9080d4 qemu: cgroup: Properly set up vcpu pinning
When the default cpuset or automatic numa placement is used libvirt
would place the whole parent cgroup in the specified cpuset. This then
disallowed to re-pin the vcpus to a different cpu.

This patch pins only the vcpu threads to the default cpuset and thus
allows to re-pin them later.

The following config would fail to start:
<domain type='kvm'>
  ...
  <vcpu placement='static' cpuset='0-1' current='2'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='2-3'/>
    ...

This is a regression since a39f69d2b.
2015-04-02 10:12:08 +02:00
..
EVENTHANDLERS.txt qemu: add short document on qemu event handlers 2014-10-06 13:50:57 -04:00
libvirtd_qemu.aug
MIGRATION.txt
qemu_agent.c
qemu_agent.h
qemu_capabilities.c
qemu_capabilities.h
qemu_cgroup.c qemu: cgroup: Properly set up vcpu pinning 2015-04-02 10:12:08 +02:00
qemu_cgroup.h Convert virDomainVcpuPinDefPtr to virDomainPinDefPtr 2015-03-16 11:54:56 -04:00
qemu_command.c
qemu_command.h
qemu_conf.c
qemu_conf.h
qemu_domain.c
qemu_domain.h
qemu_driver.c
qemu_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
qemu_hostdev.c
qemu_hostdev.h
qemu_hotplug.c
qemu_hotplug.h
qemu_hotplugpriv.h
qemu_interface.c
qemu_interface.h
qemu_migration.c
qemu_migration.h
qemu_monitor_json.c
qemu_monitor_json.h
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c
qemu_monitor.h
qemu_process.c
qemu_process.h
qemu_processpriv.h
qemu.conf
test_libvirtd_qemu.aug.in
THREADS.txt