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

Mao Zhongyi posted 4 patches 4 years, 5 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20191030034213.2888382-1-maozhongyi@cmss.chinamobile.com
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(-)
[libvirt] [PATCH 0/4] consolidate cgroup code that is duplicated between
Posted by Mao Zhongyi 4 years, 5 months ago
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



--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list