]> xenbits.xensource.com Git - libvirt.git/commit
vircgroup: introduce virCgroupV2DevicesCreateProg
authorPavel Hrdina <phrdina@redhat.com>
Mon, 24 Jun 2019 12:30:59 +0000 (14:30 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 15 Nov 2019 11:58:32 +0000 (12:58 +0100)
commitafa2788662cc054a0b73a44799db575633424e93
treec12e2e79f4483be098f5aec7bdd03f15b91d7f6d
parentce11a5c59f6fcaeae8d9a7bd60747ffdac91e3df
vircgroup: introduce virCgroupV2DevicesCreateProg

This function creates new BPF program with new empty BPF map with the
default size and attaches it to the guest cgroup.

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