[libvirt PATCH v2 11/17] qemu, hypervisor: refactor some cgroup mgmt methods

Ján Tomko jtomko at redhat.com
Fri Dec 3 17:38:10 UTC 2021


On a Thursday in 2021, Praveen K Paladugu wrote:
>Refactor some cgroup management methods from qemu into hypervisor.
>These methods will be shared by ch driver for cgroup management.
>

The QEMU driver fails to compile after this patch - it seems
qemu_process.c needs to include the header with the functions.

To get a build coverage for most of our supported platforms,
you can push into your private fork of the libvirt repo on gitlab.
The pipeline should run automatically.

Jano

>Signed-off-by: Praveen K Paladugu <prapal at linux.microsoft.com>
>---
> src/hypervisor/domain_cgroup.c | 426 ++++++++++++++++++++++++++++++++-
> src/hypervisor/domain_cgroup.h |  52 ++++
> src/libvirt_private.syms       |  10 +
> src/qemu/qemu_cgroup.c         | 410 +------------------------------
> src/qemu/qemu_cgroup.h         |  11 -
> src/qemu/qemu_driver.c         |  14 +-
> src/qemu/qemu_hotplug.c        |   4 +-
> src/qemu/qemu_process.c        |  17 +-
> 8 files changed, 515 insertions(+), 429 deletions(-)
>
-------------- 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/20211203/afd09f10/attachment-0001.sig>


More information about the libvir-list mailing list