mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-23 18:21:27 +00:00
Merge pull request #7060 from UnmeshDeodhar/fix-qemu-build-snp
local-build: Fix qemu build for SNP
This commit is contained in:
commit
8330fdeadf
@ -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