]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_validate: drop cpu.shares cgroup check
authorPavel Hrdina <phrdina@redhat.com>
Tue, 17 Jan 2023 09:08:08 +0000 (10:08 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 17 Jan 2023 09:58:04 +0000 (10:58 +0100)
commit38af6497610075e5fe386734b87186731d4c17ac
tree742eadc6e36d1ef8ff59bdd09c9977f218ff141e
parentcf3414a85b8383d71d6ae2a53daf63c331cc2230
domain_validate: drop cpu.shares cgroup check

This check is done when VM is defined but doesn't take into account what
cgroups version is currently used on the host system so it doesn't work
correctly.

To make proper check at this point we would have to figure out cgroups
version while defining a VM but that will still not guarantee that the
VM will start correctly in the future as the host may be rebooted with
different cgroups version.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/domain_validate.c