From f2a01bd5feef6db05a418462ec62a129c41a720b Mon Sep 17 00:00:00 2001 From: kuqin12 <42554914+kuqin12@users.noreply.github.com> Date: Mon, 24 Oct 2022 16:13:38 -0700 Subject: [PATCH] Reduced the QEMU to run with dual-core by default (#106) ## Description This change reduced the QEMU launcher to start with dual-core boot and build UEFI with dual core PCD. This should help the pipeline with better control of running time, when assigned with different types of building agents. - [ ] Breaking change? - Will this change break pre-existing builds or functionality without action being taken? **No** ## How This Was Tested Verified in test pipelines. ## Integration Instructions N/A - No developer integration required Signed-off-by: Kun Qin --- Platforms/QemuQ35Pkg/PlatformBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platforms/QemuQ35Pkg/PlatformBuild.py b/Platforms/QemuQ35Pkg/PlatformBuild.py index e951f517d0..9a13d0a31c 100644 --- a/Platforms/QemuQ35Pkg/PlatformBuild.py +++ b/Platforms/QemuQ35Pkg/PlatformBuild.py @@ -220,7 +220,7 @@ def SetPlatformEnv(self): # Default turn on build reporting. self.env.SetValue("BUILDREPORTING", "TRUE", "Enabling build report") self.env.SetValue("BUILDREPORT_TYPES", "PCD DEPEX FLASH BUILD_FLAGS LIBRARY FIXED_ADDRESS HASH", "Setting build report types") - self.env.SetValue("BLD_*_QEMU_CORE_NUM", "4", "Default") + self.env.SetValue("BLD_*_QEMU_CORE_NUM", "2", "Default") # Include the MFCI test cert by default, override on the commandline with "BLD_*_SHIP_MODE=TRUE" if you want the retail MFCI cert self.env.SetValue("BLD_*_SHIP_MODE", "FALSE", "Default") self.__SetEsrtGuidVars("CONF_POLICY_GUID", "6E08E434-8E04-47B5-9A77-78A3A24523EA", "Platform Hardcoded")