diff --git a/src/runtime/Makefile b/src/runtime/Makefile index e824b0b3f9..6be0b79ba6 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -155,6 +155,10 @@ ifeq ($(ARCH),arm64) FIRMWAREPATH_NV := $(PREFIXDEPS)/share/$(EDK2_NAME)/AAVMF_CODE.fd endif + +FIRMWAREPATH_NV_CPU := +FIRMWAREVOLUMEPATH_NV_CPU := + FIRMWARETDVFPATH := $(PREFIXDEPS)/share/ovmf/OVMF.inteltdx.fd FIRMWARETDVFPATH_NV := $(FIRMWARETDVFPATH) FIRMWARETDVFVOLUMEPATH := @@ -741,8 +745,10 @@ USER_VARS += KERNELPATH_STRATOVIRT USER_VARS += KERNELVIRTIOFSPATH USER_VARS += FIRMWAREPATH USER_VARS += FIRMWAREPATH_NV +USER_VARS += FIRMWAREPATH_NV_CPU USER_VARS += FIRMWARETDVFPATH USER_VARS += FIRMWAREVOLUMEPATH +USER_VARS += FIRMWAREVOLUMEPATH_NV_CPU USER_VARS += FIRMWARETDVFVOLUMEPATH USER_VARS += FIRMWARESNPPATH USER_VARS += FIRMWARETDVFPATH_NV diff --git a/src/runtime/config/configuration-qemu-nvidia-cpu.toml.in b/src/runtime/config/configuration-qemu-nvidia-cpu.toml.in index da66622100..e447fc249d 100644 --- a/src/runtime/config/configuration-qemu-nvidia-cpu.toml.in +++ b/src/runtime/config/configuration-qemu-nvidia-cpu.toml.in @@ -62,13 +62,13 @@ kernel_verity_params = "@KERNELVERITYPARAMS_NV_BASE@" # Path to the firmware. # If you want that qemu uses the default firmware leave this option empty -firmware = "@FIRMWAREPATH@" +firmware = "@FIRMWAREPATH_NV_CPU@" # Path to the firmware volume. # firmware TDVF or OVMF can be split into FIRMWARE_VARS.fd (UEFI variables # as configuration) and FIRMWARE_CODE.fd (UEFI program image). UEFI variables # can be customized per each user while UEFI code is kept same. -firmware_volume = "@FIRMWAREVOLUMEPATH@" +firmware_volume = "@FIRMWAREVOLUMEPATH_NV_CPU@" # Machine accelerators # comma-separated list of machine accelerators to pass to the hypervisor. diff --git a/tools/packaging/kata-deploy/shim-components.json b/tools/packaging/kata-deploy/shim-components.json index 35db3dbec3..3ef05a82b2 100644 --- a/tools/packaging/kata-deploy/shim-components.json +++ b/tools/packaging/kata-deploy/shim-components.json @@ -41,7 +41,7 @@ }, "qemu-nvidia-cpu": { "x86_64": ["shim-v2-go", "qemu", "virtiofsd", "kernel-nvidia-gpu", "rootfs-image-nvidia"], - "aarch64": ["shim-v2-go", "qemu", "virtiofsd", "kernel-nvidia-gpu", "rootfs-image-nvidia", "ovmf"] + "aarch64": ["shim-v2-go", "qemu", "virtiofsd", "kernel-nvidia-gpu", "rootfs-image-nvidia"] }, "qemu-nvidia-cpu-runtime-rs": { "x86_64": ["shim-v2-rust", "qemu", "virtiofsd", "kernel-nvidia-gpu", "rootfs-image-nvidia"],