On Thu, Sep 20, 2018 at 10:54:34AM +0200, Pavel Hrdina wrote:
Once we introduce cgroup v2 support we need to handle processes and
threads differently.

Signed-off-by: Pavel Hrdina <phrd...@redhat.com>
---

Notes:
   changes in v2:
       - added comment for new flag

src/libvirt_private.syms |  1 +
src/qemu/qemu_process.c  |  2 +-
src/util/vircgroup.c     | 32 ++++++++++++++++++++++++++++++++
src/util/vircgroup.h     |  1 +
4 files changed, 35 insertions(+), 1 deletion(-)


AFAICT the nbdpids added in virLXCControllerSetupCgroupLimits also refer
to threads and should use virCgroupAddThread.

But this patch does not make the LXC driver any worse.


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to