Re: [libvirt] [PATCH v3 03/15] vircgroup: introduce virCgroupV2DevicesAttachProg

2019-06-14 Thread Pavel Hrdina
On Thu, Jun 13, 2019 at 01:16:21PM +0200, Ján Tomko wrote: > On Thu, Apr 25, 2019 at 09:44:20AM +0200, Pavel Hrdina wrote: > > This function loads the BPF prog with prepared map into kernel and > > attaches it into guest cgroup. It can be also used to replace existing > > program in the cgroup if

Re: [libvirt] [PATCH v3 03/15] vircgroup: introduce virCgroupV2DevicesAttachProg

2019-06-13 Thread Ján Tomko
On Thu, Apr 25, 2019 at 09:44:20AM +0200, Pavel Hrdina wrote: This function loads the BPF prog with prepared map into kernel and attaches it into guest cgroup. It can be also used to replace existing program in the cgroup if we need to resize BPF map to store more rules for devices. The old

[libvirt] [PATCH v3 03/15] vircgroup: introduce virCgroupV2DevicesAttachProg

2019-04-25 Thread Pavel Hrdina
This function loads the BPF prog with prepared map into kernel and attaches it into guest cgroup. It can be also used to replace existing program in the cgroup if we need to resize BPF map to store more rules for devices. The old program will be closed and removed from kernel. There are two