On Mon, Feb 17, 2020 at 04:29:09PM -0500, Daniel Henrique Barboza wrote:
There are code repetition of set() and get() blkio device
parameters across lxc and qemu files. Use the new vircgroup
helpers to trim the repetition a bit.
Signed-off-by: Daniel Henrique Barboza <danielhb413(a)gmail.com>
---
src/lxc/lxc_cgroup.c | 30 ++++++++++--------------------
src/lxc/lxc_driver.c | 41 +++++++++++------------------------------
src/qemu/qemu_cgroup.c | 32 ++++++++++++--------------------
src/qemu/qemu_driver.c | 41 +++++++++++------------------------------
4 files changed, 44 insertions(+), 100 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano