]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cgroup: Move [qemu|lxc]GetCpuBWStatus to vicgroup.c and refactor it
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Sep 2013 14:03:14 +0000 (16:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Sep 2013 09:32:49 +0000 (11:32 +0200)
commitd79fe8b50b02c9cc68285b8d9d14ac32fde8a9ad
treeb38fb537d95d396504802f9d9c66a586426ed13d
parent4baa8d7637794392749970bd8e2568ff07ce8dba
cgroup: Move [qemu|lxc]GetCpuBWStatus to vicgroup.c and refactor it

The function existed in two identical instances in lxc and qemu. Move it
to vircgroup.c and simplify it. Refactor the callers too.
src/libvirt_private.syms
src/lxc/lxc_driver.c
src/qemu/qemu_driver.c
src/util/vircgroup.c
src/util/vircgroup.h