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§
Enums§
- Linux
Test Kernel Version - Which Linux test kernel version to fetch from the openvmm-deps GitHub release.
- Openvmm
Test Kernel File - Which file to extract from a per-(arch, kver)
openvmm-test-linuxarchive. - Request
Constants§
- CCA_
LINUX_ TEST_ KERNEL_ VERSION - The Linux test kernel used as the L1 host image for the aarch64 QEMU-TCG
emulated tests. Unlike
DEFAULT_LINUX_TEST_KERNEL_VERSION, this must ship the P2PDMA / vfio-dmabuf / iommufd config (LinuxTestKernelVersion::CcaV15, Linux 7.2.0-rc1) so emulated VFIO device-assignment tests can exercise device-BAR peer-to-peer DMA. Aarch64 only. - 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.
- SNP_
GUEST_ LINUX_ TEST_ KERNEL_ VERSION - The x86_64 SEV-SNP guest kernel used by the SNP Linux-direct IGVM.