mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-23 18:21:27 +00:00
local-build: Fix qemu build for SNP
Qemu entry for SNP was changed in the versions.yaml resulting into the incorrect qemu build for SNP. Fixes: #7059 Signed-Off-By: Unmesh Deodhar <udeodhar@amd.com>
This commit is contained in:
parent
9272165bc7
commit
827c98ddab
@ -492,7 +492,7 @@ install_cc_sev_kernel() {
|
||||
install_cc_tee_qemu() {
|
||||
tee="${1}"
|
||||
|
||||
[[ "${tee}" != "tdx" && "${tee}" != "snp" ]] && die "Non supported TEE"
|
||||
[ "${tee}" != "tdx" ] && die "Non supported TEE"
|
||||
|
||||
export qemu_repo="$(yq r $versions_yaml assets.hypervisor.qemu.${tee}.url)"
|
||||
export qemu_version="$(yq r $versions_yaml assets.hypervisor.qemu.${tee}.tag)"
|
||||
@ -515,10 +515,6 @@ install_cc_tdx_qemu() {
|
||||
install_cc_tee_qemu "tdx"
|
||||
}
|
||||
|
||||
install_cc_snp_qemu() {
|
||||
install_cc_tee_qemu "snp"
|
||||
}
|
||||
|
||||
install_cc_tdx_td_shim() {
|
||||
install_cached_component \
|
||||
"td-shim" \
|
||||
@ -1002,7 +998,7 @@ handle_build() {
|
||||
|
||||
cc-qemu) install_cc_qemu ;;
|
||||
|
||||
cc-snp-qemu) install_cc_snp_qemu ;;
|
||||
cc-snp-qemu) install_qemu_snp_experimental ;;
|
||||
|
||||
cc-rootfs-image) install_cc_image ;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user