mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
Reduce log level when cgroups aren't mounted
Quite a few hosts don't have cgroups mounted and so see warnings from libvirt logged, which then cause bug reports, etc. Reduce the log level to INFO so they're not visible by default * src/qemu/qemu_driver.c: Reduce log level for cgroups
This commit is contained in:
parent
525434dd60
commit
eacb3bb02a
@ -1331,7 +1331,7 @@ qemudStartup(int privileged) {
|
||||
rc = virCgroupForDriver("qemu", &qemu_driver->cgroup, privileged, 1);
|
||||
if (rc < 0) {
|
||||
char buf[1024];
|
||||
VIR_WARN("Unable to create cgroup for driver: %s",
|
||||
VIR_INFO("Unable to create cgroup for driver: %s, disabling cgroups",
|
||||
virStrerror(-rc, buf, sizeof(buf)));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user