]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_cgroup: Introduce cgroup functions for IOThreads
authorJohn Ferlan <jferlan@redhat.com>
Wed, 3 Sep 2014 13:05:02 +0000 (09:05 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 15 Sep 2014 17:18:56 +0000 (13:18 -0400)
commit5f6ad32c733a3bd158938aecabb0508a434ece95
treea52ec2c275f0b8596d093af8fc985a8528c04d5e
parent586905512ac2a43698e6d1fa9e719fa564571613
qemu_cgroup: Introduce cgroup functions for IOThreads

In order to support cpuset setting, introduce qemuSetupCgroupIOThreadsPin
and qemuSetupCgroupForIOThreads to mimic the existing Vcpu API's.

These will support having an 'iotrhreadpin' element in the 'cpuset' in
order to pin named IOThreads to specific CPU's. The IOThread pin names
will follow the IOThread naming scheme starting at 1 (eg "iothread1")
up through an including the def->iothreads value.
src/qemu/qemu_cgroup.c
src/qemu/qemu_cgroup.h