kata-containers/src/tools
Sumedh Alok Sharma c7c811071a agent-ctl: Add option --vm to boot pod VM for testing.
This change introduces a new command line option `--vm`
to boot up a pod VM for testing. The tool connects with
kata agent running inside the VM to send the test commands.
The tool uses `hypervisor` crates from runtime-rs for VM
lifecycle management. Current implementation supports
Qemu & Cloud Hypervisor as VMMs.

In summary:
- tool parses the VMM specific runtime-rs kata config file in
/opt/kata/share/defaults/kata-containers/runtime-rs/*
- prepares and starts a VM using runtime-rs::hypervisor vm APIs
- retrieves agent's server address to setup connection
- tests the requested commands & shutdown the VM

Fixes #11566

Signed-off-by: Sumedh Alok Sharma <sumsharma@microsoft.com>
2025-08-11 11:03:18 +00:00
..
agent-ctl agent-ctl: Add option --vm to boot pod VM for testing. 2025-08-11 11:03:18 +00:00
csi-kata-directvolume versions: Bump golang.org/x/net 2025-04-29 09:46:48 +01:00
genpolicy genpolicy: config layer logging clean-up 2025-07-28 18:30:13 +00:00
kata-ctl runtime-rs: change representation of default_vcpus from i32 to f32 2025-08-07 10:32:44 +02:00
log-parser versions: Bump golang version 2025-04-23 12:37:48 +01:00
runk runk: Update rustjail 2025-07-21 10:31:18 +01:00
trace-forwarder trace-forwarder: Add nix features 2025-07-17 15:09:21 +01:00