args = "-debugcon stdio" # write messages to stdio\r
args += " -global isa-debugcon.iobase=0x402" # debug messages out thru virtual io port\r
args += " -net none" # turn off network\r
+ args += " -smp 4"\r
args += f" -drive file=fat:rw:{VirtualDrive},format=raw,media=disk" # Mount disk with startup.nsh\r
\r
if (self.env.GetValue("QEMU_HEADLESS").upper() == "TRUE"):\r
if (self.env.GetBuildValue("SMM_REQUIRE") == "1"):\r
args += " -machine q35,smm=on" #,accel=(tcg|kvm)"\r
#args += " -m ..."\r
- #args += " -smp ..."\r
args += " -global driver=cfi.pflash01,property=secure,value=on"\r
args += " -drive if=pflash,format=raw,unit=0,file=" + os.path.join(OutputPath_FV, "OVMF_CODE.fd") + ",readonly=on"\r
args += " -drive if=pflash,format=raw,unit=1,file=" + os.path.join(OutputPath_FV, "OVMF_VARS.fd")\r