This directory builds the Linux boot artifacts used by vz-linux:
out/vmlinuxout/initramfs.imgout/youkiout/version.json
make -C linux allIf your host toolchain does not have ARM64 + musl cross support:
make -C linux docker-buildcd crates
cargo run -p vz-linux --bin vz-linux-bench -- \
--bundle-dir ../linux/out \
--iterations 10 \
--timeout-secs 8 \
--guest-logs \
--http-smoke-url http://example.com/Useful benchmark flags:
--guest-logscapturesdmesg | tail -n 120after each run.--http-smoke-url URLruns a curl-like HTTP smoke check in guest via BusyBoxwget.--guest-log-command "..."captures a custom guest command viash -lc.--retry-log-every Nprints a readiness heartbeat every N retries.--rootfs-dir PATHmounts a host rootfs directory via VirtioFS tagrootfsand benchmarks overlay+chroot rootfs boot mode.
vz-linux.configkernel config fragmentinitramfs/template files (init,resolv.conf,udhcpc.script)crates/vz-guest-agentbinary (cross-compiled for Linux)
version.json includes guest-agent and pinned youki version metadata.
vz-linux::ensure_kernel() uses this to reject mismatched artifact sets,
and verifies SHA256 checksums when present.
