[libvirt] [PATCH 0/4] consolidate cgroup code that is duplicated between

Mao Zhongyi maozhongyi at cmss.chinamobile.com
Wed Oct 30 03:42:09 UTC 2019


Both QEMU and LXC drivers have some duplicate code when
dealing with cgroups, this serials mainly consolidate the
same chunk of src/qemu/qemu_cgroup.c and src/lxc/lxc_cgroup.c
into src/util/cgroup.c.

Mao Zhongyi (4):
  lxc: remove duplicate header files
  qemu: remove duplicate header files
  util: consolidate QEMU and LXC block io related duplicate code
  util: consolidate QEMU and LXC memory related duplicate code

 src/libvirt_private.syms |  2 +
 src/lxc/lxc_cgroup.c     | 85 +------------------------------------
 src/qemu/qemu_cgroup.c   | 62 +--------------------------
 src/util/vircgroup.c     | 91 ++++++++++++++++++++++++++++++++++++++++
 src/util/vircgroup.h     |  4 ++
 5 files changed, 101 insertions(+), 143 deletions(-)

-- 
2.17.1






More information about the libvir-list mailing list