]> xenbits.xensource.com Git - libvirt.git/commit
vircgroup: introduce virCgroupV2ValidateMachineGroup
authorPavel Hrdina <phrdina@redhat.com>
Fri, 14 Sep 2018 16:19:53 +0000 (18:19 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 5 Oct 2018 13:53:29 +0000 (15:53 +0200)
commit3a365ef697b8fedb929725c46753481a63ae3de7
treea982a88db1e0503d98d024c56401751802f1aee6
parent034ef217d73aa240340dd22590402bb9636648b5
vircgroup: introduce virCgroupV2ValidateMachineGroup

When reconnecting to a domain we are validating the cgroup name.
In case of cgroup v2 we need to validate only the new format for host
without systemd '{machinename}.libvirt-{drivername}' or scope name
generated by systemd.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/util/vircgroupv2.c