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

Ján Tomko jtomko at redhat.com
Sun Feb 23 12:15:53 UTC 2020


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 at 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 at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200223/4b18ee0d/attachment-0001.sig>


More information about the libvir-list mailing list