runtime-rs: Add new runtimeClass qemu-se-runtime-rs

When `KATA_HYPERVISOR` is set to `qemu-se-runtime-rs`,
a configuration file is properly referenced and a runtime class
should be created via kata-deploy.

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
Hyounggyu Choi
2025-02-28 16:03:36 +01:00
parent 2c72cf5891
commit 4ea7d274c4
6 changed files with 31 additions and 5 deletions

View File

@@ -237,7 +237,7 @@ function get_kata_containers_config_path() {
# Map the runtime shim name to the appropriate configuration
# file directory.
case "$shim" in
cloud-hypervisor | dragonball | qemu-runtime-rs) config_path="$rust_config_path" ;;
cloud-hypervisor | dragonball | qemu-runtime-rs | qemu-se-runtime-rs) config_path="$rust_config_path" ;;
*) config_path="$golang_config_path" ;;
esac
@@ -249,7 +249,7 @@ function get_kata_containers_runtime_path() {
local runtime_path
case "$shim" in
cloud-hypervisor | dragonball | qemu-runtime-rs)
cloud-hypervisor | dragonball | qemu-runtime-rs | qemu-se-runtime-rs)
runtime_path="${dest_dir}/runtime-rs/bin/containerd-shim-kata-v2"
;;
*)