Repo: https://pagure.io/lersek/edk2.git Branch: timeout_var
In the PlatformBootManagerLib instances, set the Timeout global variable to the same value as PcdPlatformBootTimeOut. This way the "setvar" command in the UEFI shell, and the "efibootmgr" command in a Linux guest, can report the front page timeout that was requested on the QEMU command line (see GetFrontPageTimeoutFromQemu() in "OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c"). A DEBUG_VERBOSE message is logged on success too, for our QE team's sake. Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Leif Lindholm <l...@nuviainc.com> Cc: Philippe Mathieu-Daudé <phi...@redhat.com> Thanks Laszlo Laszlo Ersek (2): OvmfPkg/PlatformBootManagerLib: sync Timeout with PcdPlatformBootTimeOut ArmVirtPkg/PlatformBootManagerLib: sync Timeout with PcdPlatformBootTimeOut ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c | 27 ++++++++++++++++++-- ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 1 + OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 26 +++++++++++++++++-- OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 2 ++ 4 files changed, 52 insertions(+), 4 deletions(-) -- 2.19.1.3.g30247aa5d201 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#55379): https://edk2.groups.io/g/devel/message/55379 Mute This Topic: https://groups.io/mt/71722702/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-