On 2012年10月12日 17:50, Osier Yang wrote:
As proposed in
https://www.redhat.com/archives/libvir-list/2012-October/msg00522.html,
This patch set is trying to resolve the conflicts between<vcpu>
,<vcpupin>, and<emulatorpin>, when doing CPU tuning for domain
process or vcpu threads.
PATCH 1/7 changes all the doc together, as the 3 elements are
related with each other too tightly, splitting the changes in
separate patches will just make things obscure and hard to
review. See commit log of PATCH 1/7 for overview/details about
the solution.
Osier Yang (7):
doc: Clarify the relationship between<vcpu>,<vcpupin>, and
<emulatorpin>
conf: Do not allow vcpupin's cpuid exceed current vcpus number
conf: Initialize the pinning policy for vcpus
qemu: Create or remove cgroup when doing vcpu hotpluging
qemu: Initialize cpuset for hotplugged vcpu as def->cpuset
conf: Prohibit emulatorpin if vcpu placement is auto
qemu: Ignore def->cpumask if emulatorpin is specified
docs/formatdomain.html.in | 42 +++++++++++------
src/conf/domain_conf.c | 103 ++++++++++++++++++++++++++++++++++++++++-
src/conf/domain_conf.h | 3 +
src/libvirt_private.syms | 1 +
src/qemu/qemu_driver.c | 110 +++++++++++++++++++++++++++++++++++++++++++++
src/qemu/qemu_process.c | 3 +-
6 files changed, 243 insertions(+), 19 deletions(-)
Now pushed the set after more testing, (with nit on 6/7 fixed).
Regards,
Osier