[Devel] [PATCH VZ10 0/3] bpf/devcg: add interface for dumping programs

Vasileios Almpanis vasileios.almpanis at virtuozzo.com
Wed Jul 29 12:48:12 MSK 2026


Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>

On 7/28/26 1:08 PM, Pavel Tikhomirov wrote:
> We've allowed bpf device cgroup programs in Containers in previous
> patches, now let's give CRIU and intercace to be able to dump them,
> so that Virtuozzo Containers with such programs can be migrated.
>
> Feature: BPF checkpoint/restore
> https://virtuozzo.atlassian.net/browse/VSTOR-121776
> Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
>
> Pavel Tikhomirov (3):
>    bpf: report original insns of cgroup device programs
>    selftests/ve_devcg_bpf: factor device program insns into
>      DEVCG_PROG_INSNS
>    selftests/ve_devcg_bpf: test orig_insns reporting via
>      BPF_OBJ_GET_INFO_BY_FD
>
>   include/linux/bpf.h                           |  2 +
>   include/uapi/linux/bpf.h                      |  2 +
>   kernel/bpf/core.c                             |  1 +
>   kernel/bpf/syscall.c                          | 30 ++++++++
>   tools/include/uapi/linux/bpf.h                |  2 +
>   tools/testing/selftests/ve_devcg_bpf/Makefile |  3 +
>   .../ve_devcg_bpf/ve_devcg_bpf_test.c          | 69 ++++++++++++++++---
>   7 files changed, 100 insertions(+), 9 deletions(-)
>
-- 
Best regards, Vasileios Almpanis
Software Developer, Virtuozzo.



More information about the Devel mailing list