mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-10 15:56:47 +00:00
Mirror the Rust runtime's guest_extension_images support in the Go runtime: - hypervisor.go: add GuestExtensionImage struct and GuestExtensionImages field to HypervisorConfig. - config.go: parse [[hypervisor.qemu.guest_extension_images]] TOML sections via toGuestExtensionImages(), validating that every extension has a non-empty name and valid dm-verity parameters. - qemu.go: in buildDevices(), attach each extra image as a virtio-blk drive with ID extension-<name>; in kernelParameters(), append kata.extension.<name>.verity_params=... for each extra image. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com> Assisted-by: Cursor <cursoragent@cursor.com>
Kata utilities packages
The katautils package contains useful functions that are shared by various
parts of the codebase, including the runtime and the container v2 shim.