Re: [PATCH v6 2/5] ebpf: Added eBPF initialization by fds.

2023-08-30 Thread Daniel P . Berrangé
On Wed, Aug 09, 2023 at 02:30:12AM +0300, Andrew Melnychenko wrote: > It allows using file descriptors of eBPF provided > outside of QEMU. > QEMU may be run without capabilities for eBPF and run > RSS program provided by management tool(g.e. libvirt). > > Signed-off-by: Andrew Melnychenko > --- >

[PATCH v6 2/5] ebpf: Added eBPF initialization by fds.

2023-08-08 Thread Andrew Melnychenko
It allows using file descriptors of eBPF provided outside of QEMU. QEMU may be run without capabilities for eBPF and run RSS program provided by management tool(g.e. libvirt). Signed-off-by: Andrew Melnychenko --- ebpf/ebpf_rss-stub.c | 6 ++ ebpf/ebpf_rss.c | 27 ++