diff --git a/src/runtime/Makefile b/src/runtime/Makefile index c941272c3f..afe0ea0ab6 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -152,6 +152,7 @@ SNPCERTSPATH := /opt/snp/cert_chain.cert ROOTMEASURECONFIG ?= "" KERNELTDXPARAMS += $(ROOTMEASURECONFIG) +KERNELQEMUCOCODEVPARAMS += $(ROOTMEASURECONFIG) # Name of default configuration file the runtime will use. CONFIG_FILE = configuration.toml @@ -645,6 +646,7 @@ USER_VARS += DEFMACHINETYPE_CLH USER_VARS += DEFMACHINETYPE_STRATOVIRT USER_VARS += KERNELPARAMS USER_VARS += KERNELTDXPARAMS +USER_VARS += KERNELQEMUCOCODEVPARAMS USER_VARS += LIBEXECDIR USER_VARS += LOCALSTATEDIR USER_VARS += PKGDATADIR diff --git a/src/runtime/config/configuration-qemu-coco-dev.toml.in b/src/runtime/config/configuration-qemu-coco-dev.toml.in index 2373aabaa6..4b94ed61d4 100644 --- a/src/runtime/config/configuration-qemu-coco-dev.toml.in +++ b/src/runtime/config/configuration-qemu-coco-dev.toml.in @@ -73,7 +73,7 @@ valid_hypervisor_paths = @QEMUVALIDHYPERVISORPATHS@ # may stop the virtual machine from booting. # To see the list of default parameters, enable hypervisor debug, create a # container and look for 'default-kernel-parameters' log entries. -kernel_params = "@KERNELPARAMS@" +kernel_params = "@KERNELQEMUCOCODEVPARAMS@" # Path to the firmware. # If you want that qemu uses the default firmware leave this option empty