[libvirt PATCH v2 00/17] cgroup and thread management in ch driver

Praveen K Paladugu prapal at linux.microsoft.com
Thu Dec 2 22:55:57 UTC 2021


I addressed all the open comments on the v1 patch set.
In places where indentaion was hard to manage, I created explicit commits to
apply correct indentation on files.

Compared to v1, this version applies 2 code refactors:
1) some cgroup methods in src/qemu/qemu_cgroup.c were moved to src/hypervisor
and shared with ch driver.
2) virProcessGetStatInfo, virProcessGetSchedInfo which were copied from qemu
driver are moved to util and shared between qemu and ch drviers.

Praveen K Paladugu (9):
  util: fix indentation in virprocess.c
  util: Helper functions to get process info
  ch_domain: fix indentation in ch_domain
  ch_driver: fix indentation in ch_driver
  ch_driver,ch_domain: vcpu info getter callbacks
  ch_monitor: fix indentation in ch_monitor.c
  qemu,hypervisor: refactor some cgroup mgmt methods
  ch_process: Setup emulator and iothread settings
  ch_driver: emulator threadinfo & pinning callbacks

Vineeth Pillai (8):
  ch_domain: add virCHDomainGetMonitor helper method
  ch_domain: add methods to manage private vcpu data
  ch_driver: domainGetVcpuPinInfo and nodeGetCPUMap
  ch_monitor: Get nicindexes in prep for cgroup mgmt
  ch: methods for cgroup mgmt in ch driver
  ch_driver,ch_domain: vcpupin callback in ch driver
  ch_driver: enable typed param string for numatune
  ch_driver: add numatune callbacks for CH driver

 src/ch/ch_conf.c               |    2 +
 src/ch/ch_conf.h               |    6 +-
 src/ch/ch_domain.c             |  302 ++++++---
 src/ch/ch_domain.h             |   32 +-
 src/ch/ch_driver.c             | 1045 ++++++++++++++++++++++++++++----
 src/ch/ch_monitor.c            |  533 +++++++++++-----
 src/ch/ch_monitor.h            |   60 +-
 src/ch/ch_process.c            |  386 +++++++++++-
 src/ch/ch_process.h            |    3 +
 src/ch/meson.build             |    1 +
 src/hypervisor/domain_cgroup.c |  426 ++++++++++++-
 src/hypervisor/domain_cgroup.h |   52 ++
 src/libvirt_private.syms       |   12 +
 src/qemu/qemu_cgroup.c         |  410 +------------
 src/qemu/qemu_cgroup.h         |   11 -
 src/qemu/qemu_driver.c         |  130 +---
 src/qemu/qemu_hotplug.c        |    4 +-
 src/qemu/qemu_process.c        |   17 +-
 src/util/virprocess.c          |  609 +++++++++++--------
 src/util/virprocess.h          |    5 +
 20 files changed, 2905 insertions(+), 1141 deletions(-)

-- 
2.27.0





More information about the libvir-list mailing list