Hello Piyush.
Sorry for the delay in reviewing. It's been quite a busy week at work... > This patch adds initial version of vmtest-tool script to test BPF > programs on live kernel > > For now, the tool is standalone, but it is intended to be integrated with the > DejaGnu testsuite to run BPF testcases in future patches. Very nice. > Current Limitations: > - Only x86_64 is supported. Support for additional architectures will > be added soon. This is a very reasonable way of proceeding. > - When testing BPF programs with --bpf-src or --bpf-obj, only the host's root > directory can be used as the VM root filesystem. This will also be improved > in future updates. Ok. > > Thank you, > Piyush Raj > > Piyush Raj (1): > contrib: add vmtest-tool to test BPF programs > > contrib/vmtest-tool/.gitignore | 23 ++ > contrib/vmtest-tool/.pre-commit-config.yaml | 32 ++ > contrib/vmtest-tool/.python-version | 1 + > contrib/vmtest-tool/README | 75 ++++ > contrib/vmtest-tool/__init__.py | 0 > contrib/vmtest-tool/bpf.py | 193 ++++++++++ > contrib/vmtest-tool/config.py | 11 + > contrib/vmtest-tool/kernel.py | 209 +++++++++++ > contrib/vmtest-tool/main.py | 101 ++++++ > contrib/vmtest-tool/pyproject.toml | 36 ++ > contrib/vmtest-tool/requirements-dev.txt | 198 ++++++++++ > contrib/vmtest-tool/tests/test_cli.py | 170 +++++++++ > contrib/vmtest-tool/utils.py | 26 ++ > contrib/vmtest-tool/uv.lock | 380 ++++++++++++++++++++ > contrib/vmtest-tool/vm.py | 154 ++++++++ > 15 files changed, 1609 insertions(+) > create mode 100644 contrib/vmtest-tool/.gitignore > create mode 100644 contrib/vmtest-tool/.pre-commit-config.yaml > create mode 100644 contrib/vmtest-tool/.python-version > create mode 100644 contrib/vmtest-tool/README > create mode 100644 contrib/vmtest-tool/__init__.py > create mode 100644 contrib/vmtest-tool/bpf.py > create mode 100644 contrib/vmtest-tool/config.py > create mode 100644 contrib/vmtest-tool/kernel.py > create mode 100644 contrib/vmtest-tool/main.py > create mode 100644 contrib/vmtest-tool/pyproject.toml > create mode 100644 contrib/vmtest-tool/requirements-dev.txt > create mode 100644 contrib/vmtest-tool/tests/test_cli.py > create mode 100644 contrib/vmtest-tool/utils.py > create mode 100644 contrib/vmtest-tool/uv.lock > create mode 100644 contrib/vmtest-tool/vm.py