]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_dbus: use emulator cgroup for dbus-daemon
authorPavel Hrdina <phrdina@redhat.com>
Wed, 28 Oct 2020 02:20:37 +0000 (03:20 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 3 Nov 2020 20:26:32 +0000 (21:26 +0100)
commit09c12ba248e96211ba6fe006eb9e2ebc4e034c67
treea9b269adcd2adcb244bfd852d2ea23ae2a1b8738
parentb43acd8e82dc55d532e76aa8b1988d3f8142eb84
qemu_dbus: use emulator cgroup for dbus-daemon

All other helper processes are moved to cgroup with QEMU emulator
thread as we keep the root VM cgroup without any processes. This
assumption is validated in qemuRestoreCgroupState() which is called
when libvirtd is restarted and reconnected to all running VMs.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_dbus.c
src/qemu/qemu_dbus.h
src/qemu/qemu_extdevice.c