libvirt/src/hypervisor
Michal Privoznik eac8de54a6 domain_cgroup: Fix a condition in virDomainCgroupConnectCgroup()
While parts of QEMU's CGroup code were moved under hypervisor
agnostic location (src/hypervisor/) a typo sneaked in. The
inspiration for virDomainCgroupConnectCgroup() comes from
qemuConnectCgroup(). The former is called upon reconnecting to a
running domain (after daemon restart). While the latter returned
early if the daemon was running unprivileged, the former returns
early if the daemon runs privileged. This is obviously wrong,
because root can set up CGroups.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2075765
Fixes: 788e2b58cb
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-04-20 09:52:56 +02:00
..
domain_cgroup.c domain_cgroup: Fix a condition in virDomainCgroupConnectCgroup() 2022-04-20 09:52:56 +02:00
domain_cgroup.h hypervisor: Drop dead code in virDomainCgroupSetupGlobalCpuCgroup() 2022-04-07 12:12:05 +02:00
domain_driver.c src: Initialize stack allocated virPCIDeviceAddress variables 2022-02-11 15:01:19 +01:00
domain_driver.h domain_driver.c: Introduce and use virDomainDriverGetIOThreadsConfig() 2021-09-23 13:41:19 +02:00
domain_job.c move jobs enums QEMU_X into hypervisor as VIR_X 2022-03-25 13:40:56 +01:00
domain_job.h lxc: use virDomainJob enum instead of virLXCDomainJob 2022-03-25 13:41:04 +01:00
meson.build move jobs enums QEMU_X into hypervisor as VIR_X 2022-03-25 13:40:56 +01:00
virclosecallbacks.c Switch away from virHashFree 2021-12-01 13:53:12 +01:00
virclosecallbacks.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virhostdev.c Allow VF vlanid to be passed as a pointer 2022-02-03 16:52:05 +01:00
virhostdev.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00