[libvirt] [PATCH 00/17] Supports for hypervisor-pin and hypervisor-bandwidth

Hu Tao hutao at cn.fujitsu.com
Fri Aug 3 06:36:02 UTC 2012


This series is a merge of

  1) "Support hypervisor-threads-pin in vcpupin"
     (https://www.redhat.com/archives/libvir-list/2012-July/msg01361.html)
  2) "support to set cpu bandwidth for hypervisor threads"
     (https://www.redhat.com/archives/libvir-list/2012-June/msg01161.html)

to make life easier because of the two share some patches.

Patches 1-12 are from  1), patches 13-17 are from 2).

Changes:
  1. rebase to the latest git tree(removal of qemuReportError, split of virsh.c)
  2. some typo fixes
  3. make it pass syntax-check

Hu Tao (2):
  limit cpu bandwidth only for vcpus
  update doc about hypervisor_period/hypervisor_quota

Tang Chen (9):
  Enable cpuset cgroup and synchronous vcpupin info to cgroup.
  Support hypervisorpin xml parse.
  Introduce qemuSetupCgroupHypervisorPin and synchronize hypervisorpin
    info to cgroup.
  Add qemuProcessSetHypervisorAffinites and set hypervisor threads
    affinities
  Introduce virDomainHypervisorPinAdd and virDomainHypervisorPinDel
    functions
  Introduce virDomainPinHypervisorFlags and
    virDomainGetHypervisorPinInfo functions.
  Introduce qemudDomainPinHypervisorFlags and
    qemudDomainGetHypervisorPinInfo in qemu driver.
  Introduce remoteDomainPinHypervisorFlags and
    remoteDomainGetHypervisorPinInfo functions in remote driver.
  Improve vcpupin to support hypervisorpin dynamically.

Wen Congyang (6):
  Introduce the function virCgroupForHypervisor
  Introduce the function virCgroupMoveTask
  create a new cgroup and move all hypervisor threads to the new cgroup
  Update XML Schema for new entries
  qemu: Implement hypervisor's period and quota tunable XML
    configuration and parsing
  qemu: Implement hypervisor_period and hypervisor_quota's modification

 daemon/remote.c                                 |  103 +++++
 docs/schemas/domaincommon.rng                   |   17 +
 include/libvirt/libvirt.h.in                    |   26 ++
 src/conf/domain_conf.c                          |  189 ++++++++-
 src/conf/domain_conf.h                          |    9 +
 src/driver.h                                    |   13 +-
 src/libvirt.c                                   |  147 +++++++
 src/libvirt_private.syms                        |    7 +
 src/libvirt_public.syms                         |    2 +
 src/qemu/qemu_cgroup.c                          |  193 ++++++++--
 src/qemu/qemu_cgroup.h                          |    5 +
 src/qemu/qemu_driver.c                          |  465 +++++++++++++++++++----
 src/qemu/qemu_process.c                         |   60 ++-
 src/remote/remote_driver.c                      |  102 +++++
 src/remote/remote_protocol.x                    |   23 +-
 src/remote_protocol-structs                     |   24 ++
 src/util/cgroup.c                               |  188 ++++++++-
 src/util/cgroup.h                               |   15 +
 tests/qemuxml2argvdata/qemuxml2argv-cputune.xml |    1 +
 tests/vcpupin                                   |    6 +-
 tools/virsh-domain.c                            |  147 ++++---
 tools/virsh.pod                                 |   23 +-
 22 files changed, 1594 insertions(+), 171 deletions(-)

-- 
1.7.10.2




More information about the libvir-list mailing list