From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web09.9904.1583398584962004106 for ; Thu, 05 Mar 2020 00:56:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hAR/pLRK; spf=pass (domain: redhat.com, ip: 205.139.110.120, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583398584; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BuezHVVwQ5NEMWdyIm7QTto0ADcSYnn/HYMjzQfZETQ=; b=hAR/pLRKuvRo6m0amuFxcgE5FbA3aI48dIvvjW1KPbgjo84MctcVQP86T/bSQuiYFU6gfs wBitPcEGbSg5hz919pLPYVPr7riMMlD20rE7D6WCgE9Bq6v5hJJmE0k8jX7C1dq0tU0ZQK fZFGfQPrhtTKXKrqF5kyqEXoYjlosow= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-424-OURWsTiSOWSpk0EAaRahHw-1; Thu, 05 Mar 2020 03:56:18 -0500 X-MC-Unique: OURWsTiSOWSpk0EAaRahHw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 67FE6107ACC9; Thu, 5 Mar 2020 08:56:17 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-117-216.ams2.redhat.com [10.36.117.216]) by smtp.corp.redhat.com (Postfix) with ESMTP id 22AED8B756; Thu, 5 Mar 2020 08:56:15 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH 0/2] OvmfPkg, ArmVirtPkg: sync Timeout with PcdPlatformBootTimeOut From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Jordan Justen , Leif Lindholm , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Reply-To: devel@edk2.groups.io, lersek@redhat.com References: <20200304094413.19462-1-lersek@redhat.com> Message-ID: <14902c69-e5e1-68b3-ed7a-b5fc7ff74f4a@redhat.com> Date: Thu, 5 Mar 2020 09:56:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200304094413.19462-1-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/04/20 10:44, Laszlo Ersek wrote: > Repo: https://pagure.io/lersek/edk2.git > Branch: timeout_var >=20 > 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"). >=20 > A DEBUG_VERBOSE message is logged on success too, for our QE team's > sake. >=20 > Cc: Ard Biesheuvel > Cc: Jordan Justen > Cc: Leif Lindholm > Cc: Philippe Mathieu-Daud=C3=A9 >=20 > Thanks > Laszlo >=20 > Laszlo Ersek (2): > OvmfPkg/PlatformBootManagerLib: sync Timeout with > PcdPlatformBootTimeOut > ArmVirtPkg/PlatformBootManagerLib: sync Timeout with > PcdPlatformBootTimeOut >=20 > ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c | 2= 7 ++++++++++++++++++-- > ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | = 1 + > OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 2= 6 +++++++++++++++++-- > OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | = 2 ++ > 4 files changed, 52 insertions(+), 4 deletions(-) >=20 Merged as commit range 3b9cd714542a..7288ff4095cf, via . Thanks! Laszlo