> On Wed, 22 Oct 2025 at 04:06, Hans-Peter Nilsson <[email protected]> wrote: >> >> On Tue, 21 Oct 2025, Jose E. Marchesi wrote: >> > What about having the script check an environment variable and >> > command-line option, and error out if it is not defined? Something like >> > VMTEST_DIR and --vmtest-dir=DIR. >> > >> >> Sounds good to me! >> >> brgds, H-P > > I thought about the implementation of this to the current state of the tool. > Now, when the tool is used to load BPF programs, it will only read > from the specified VMTEST_DIR. If the required kernel is not present, > it will fail and will not attempt to write to that directory. > > The user can either use --kernel-image, and provide the path to a > bzImage directly, or run: > python3 main.py kernel build 6.15 > to pull and build bzImage from the kernel v6.15 tarball. > We can also add kernel image management commands like list, remove, > rebuild, and import. > This will also address David's usability suggestion for kernel builds. > > If this sounds good, I will make the changes and send a patch.
Sounds good to me. kernel image management commands sound better than running python3 directly :) Thanks!
