[edk2-devel] MP services reports incorrect number of CPUs under QEMU without KVM

2022-03-05 Thread nicholasbishop
Count=0 mMaxCpuCount=1 I'm not sure if this indicates a bug in QEMU or OVMF. Incidentally the "QEMU v2.7" is hardcoded in OvmfPkg/PlatformPei/Platform.c, I'm actually testing under QEMU 6.1.0. Test code: https://github.com/nicholasbishop/edk2/blob/af920578e822cdeef0204e39d

Re: [edk2-devel] Bug report: serial timeout gets overwritten shortly after setting it

2021-12-03 Thread nicholasbishop
Just getting back to this, thanks for the solution and explanation. I've confirmed that using LocateHandle followed by OpenProtocol with EFI_OPEN_PROTOCOL_EXCLUSIVE works for me as you suggested. Thanks again! -Nicholas -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to

[edk2-devel] Bug report: serial timeout gets overwritten shortly after setting it

2021-11-22 Thread nicholasbishop
, which alters the serial timeout: https://github.com/tianocore/edk2/blob/e1e7306b54147e65cb7347b060e94f336d4a82d2/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConIn.c#L549 I've created a full example here: https://github.com/nicholasbishop/edk2/commit/d6087f863a48f3c7812f47ea21d5d673adb