diff --git a/src/runtime/Makefile b/src/runtime/Makefile index a80a2a9e69..a3a39183bb 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -464,6 +464,13 @@ ifneq (,$(QEMUCMD)) DEFSANDBOXCGROUPONLY_NV = true # The latest OVMF build should be good for both TDX and SNP FIRMWAREPATH_NV := $(PREFIXDEPS)/share/ovmf/OVMF.fd + + ifneq (,$(QEMUFW)) + FIRMWAREPATH := $(PREFIXDEPS)/share/ovmf/$(QEMUFW) + endif + ifneq (,$(QEMUFWVOL)) + FIRMWAREVOLUMEPATH := $(PREFIXDEPS)/share/ovmf/$(QEMUFWVOL) + endif endif ifneq (,$(CLHCMD)) diff --git a/src/runtime/arch/arm64-options.mk b/src/runtime/arch/arm64-options.mk index ca19c8c7a6..749504cfca 100644 --- a/src/runtime/arch/arm64-options.mk +++ b/src/runtime/arch/arm64-options.mk @@ -11,6 +11,8 @@ MACHINEACCELERATORS := CPUFEATURES := pmu=off QEMUCMD := qemu-system-aarch64 +QEMUFW := AAVMF_CODE.fd +QEMUFWVOL := AAVMF_VARS.fd # Firecracker binary name FCCMD := firecracker