diff --git a/src/lxc/lxc_cgroup.c b/src/lxc/lxc_cgroup.c index 0a43b61e7d..7311489d1d 100644 --- a/src/lxc/lxc_cgroup.c +++ b/src/lxc/lxc_cgroup.c @@ -537,7 +537,7 @@ virCgroupPtr virLXCCgroupCreate(virDomainDefPtr def, bool startup) goto cleanup; } - if (!(res->partition = strdup("/system"))) { + if (!(res->partition = strdup("/machine"))) { virReportOOMError(); VIR_FREE(res); goto cleanup; diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c index 9a7bffbe2f..3a58f24e03 100644 --- a/src/qemu/qemu_cgroup.c +++ b/src/qemu/qemu_cgroup.c @@ -236,7 +236,7 @@ int qemuInitCgroup(virQEMUDriverPtr driver, goto cleanup; } - if (!(res->partition = strdup("/system"))) { + if (!(res->partition = strdup("/machine"))) { virReportOOMError(); VIR_FREE(res); goto cleanup;