]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroup: introduce virCgroupV2DevicesGetKey
authorPavel Hrdina <phrdina@redhat.com>
Mon, 24 Jun 2019 12:46:53 +0000 (14:46 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 15 Nov 2019 11:58:38 +0000 (12:58 +0100)
commitb18b0ce6099d2d6ba1b19de842629d38631a8f79
tree8ee36df20f553f4da430a88b37cf0bf021b595a5
parent63cfe7b84de6609e18e1876a7b1807a86aeb8e07
vircgroup: introduce virCgroupV2DevicesGetKey

Device rules are stored in BPF map that is a hash type, this function
will create a key based on major and minor id of device.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libvirt_private.syms
src/util/vircgroupv2devices.c
src/util/vircgroupv2devices.h