Skip to main content

Module resolve_openvmm_test_linux_kernel

Module resolve_openvmm_test_linux_kernel 

Source
Expand description

Download files from a Linux test kernel openvmm-deps GitHub release artifact, or use a local path if specified.

Each LinuxTestKernelVersion variant corresponds to its own per-kernel-version GitHub release artifact (e.g. openvmm-test-linux-6.1.<arch>.<ver>.tar.gz), so consumers can target different kernel versions independently. Each archive contains the primary kernel image (vmlinux on x86_64, Image on aarch64) and, on x86_64, an additional bzImage-format kernel — see OpenvmmTestKernelFile to select between them. The matching guest- userland initrd is shared across kernel versions and lives in its own node (see crate::resolve_openvmm_test_initrd).

Structs§

Config
Config for the resolve_openvmm_test_linux_kernel node.
Node
(see module-level docs)

Enums§

LinuxTestKernelVersion
Which Linux test kernel version to fetch from the openvmm-deps GitHub release.
OpenvmmTestKernelFile
Which file to extract from a per-(arch, kver) openvmm-test-linux archive.
Request

Constants§

DEFAULT_LINUX_TEST_KERNEL_VERSION
The default Linux test kernel version. Call sites that don’t otherwise care which kernel they’re using should pass this.