Re: [PATCH v2 02/14] lxc, qemu: use virCgroupSetupBlkioDevice* helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
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@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux