summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/PlatformCI
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-03-27 17:01:38 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-03-29 15:50:53 +0000
commitf92a9dce10281c103b04d6b38283e0ff1d677b91 (patch)
tree598fd7f41e8eaa7896db0beb7c1f64ce49ceb396 /OvmfPkg/PlatformCI
parent6f415f8af48d0ba3e5d4719062a62cbfc3577227 (diff)
downloadedk2-f92a9dce10281c103b04d6b38283e0ff1d677b91.tar.gz
edk2-f92a9dce10281c103b04d6b38283e0ff1d677b91.tar.bz2
edk2-f92a9dce10281c103b04d6b38283e0ff1d677b91.zip
OvmfPkg/CI: Boot OVMF in SMP mode.
Increase the chance that CI finds bugs in MP changes. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'OvmfPkg/PlatformCI')
-rw-r--r--OvmfPkg/PlatformCI/PlatformBuildLib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/PlatformCI/PlatformBuildLib.py b/OvmfPkg/PlatformCI/PlatformBuildLib.py
index 58dc1189a2..1ff85fdc24 100644
--- a/OvmfPkg/PlatformCI/PlatformBuildLib.py
+++ b/OvmfPkg/PlatformCI/PlatformBuildLib.py
@@ -196,6 +196,7 @@ class PlatformBuilder( UefiBuilder, BuildSettingsManager):
args = "-debugcon stdio" # write messages to stdio
args += " -global isa-debugcon.iobase=0x402" # debug messages out thru virtual io port
args += " -net none" # turn off network
+ args += " -smp 4"
args += f" -drive file=fat:rw:{VirtualDrive},format=raw,media=disk" # Mount disk with startup.nsh
if (self.env.GetValue("QEMU_HEADLESS").upper() == "TRUE"):
@@ -204,7 +205,6 @@ class PlatformBuilder( UefiBuilder, BuildSettingsManager):
if (self.env.GetBuildValue("SMM_REQUIRE") == "1"):
args += " -machine q35,smm=on" #,accel=(tcg|kvm)"
#args += " -m ..."
- #args += " -smp ..."
args += " -global driver=cfi.pflash01,property=secure,value=on"
args += " -drive if=pflash,format=raw,unit=0,file=" + os.path.join(OutputPath_FV, "OVMF_CODE.fd") + ",readonly=on"
args += " -drive if=pflash,format=raw,unit=1,file=" + os.path.join(OutputPath_FV, "OVMF_VARS.fd")