[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 0/3] vcpupin improvements



These 3 patches are to improve vcpu pinning problems:

problem 1:
vcpu hotplug is supported for some time, but it doesn't set
pinning policy for the vcpus onlined, or doesn't remove
the pinning policy for offlined vcpus.

problem 2:
Also each vcpu doesn't inherit the pinning policy from
def->cpuset (<vcpu cpuset='0-3,^2'>4</vcpu>) if there is no
policy specified explicitly for its own. This is incorrect,
as it conflicts with the of def->cpuset.

PATCH 3/3 fix problem 1 (based an ACKed but not pushed patch
https://www.redhat.com/archives/libvir-list/2012-October/msg00372.html).

PATCH 2/3 fix problem 2.

Osier Yang (3):
  conf: Do not allow vcpupin's cpuid exceed current vcpus number
  conf: Initialize the pinning policy for vcpus
  qemu: Initialize cpuset for hotplugged vcpu as def->cpuset

 src/conf/domain_conf.c   |   60 +++++++++++++++++++++++++++++++++++-
 src/conf/domain_conf.h   |    3 ++
 src/libvirt_private.syms |    1 +
 src/qemu/qemu_driver.c   |   75 ++++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 128 insertions(+), 11 deletions(-)

Regards,
Osier


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]