From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web10.13308.1583337037842921267 for ; Wed, 04 Mar 2020 07:50:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AEwc8dwu; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583337036; h=from:from: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=qO9vxChDypG+muWQjbmifi0jbMl4WwJnuEraUTqBt4g=; b=AEwc8dwu9iRVh/vYQX8M3YsnMwiPUQQMc7+olPaR4xnauSJ4CCJ6GaJeq6TnQwhvkCnIIc kwIUTYQTohRfGPe9uKoY8vlOdeTrTJvSMX39tkHcPSiUdOo3fMRa2k/VhkdweQcvff+WVq hktDHiqDyAlgli0fEN6NjZii/MIMw04= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-162-rOghxt3VPI6p2_IVnd7WNw-1; Wed, 04 Mar 2020 10:50:19 -0500 X-MC-Unique: rOghxt3VPI6p2_IVnd7WNw-1 Received: by mail-ed1-f71.google.com with SMTP id u12so1907920edb.20 for ; Wed, 04 Mar 2020 07:50:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Z2ylhHXzwi3ygoRBJPsUsypoo4aawnLBsF64+RmfiYo=; b=p0RsIgTkQQQmDoz818Vw+02f23XQG6nlH/zqoihEdinGYdzJPhM6RXD6dMz/Mo7Enh dIc0bshwaTgcx4Y6XrPjetqut6KD2mKsBrogKNXBCJNF7XJU94c8V3rd/Inu4pyNnMMh 86MRa90PnATA3All3nBR7Yd4UxjEFmMixidxbS3X/wSYOE9vgrHjEQhrOd26tNcCIFdA E6Dz8SmnrhbQs/8xKCO/KWsW7l9mJuWadJXkc8yIZ/kmQQrVgvp0el8NPIKwTc+QCco1 fnPWp6+uZw1yZMx+xCosU8udngUpITIKttMG+3BwqK/Bl2B3CLTjtQXSyO3nP43zB8g9 dG7Q== X-Gm-Message-State: ANhLgQ1vslhqo1krhsIWaorVitLSL7LVEESQn2H0Eh0hIgxTYRX2EtmJ 6inKSbEYvkBo2x3jhV0fw0+RARnk3zYQPePR4to8BwDaGVgrZnROovCRqEOmpovqQ2VUSRHvPxk xvDIuUoD/NBJgRQ== X-Received: by 2002:aa7:d591:: with SMTP id r17mr3349948edq.156.1583337018392; Wed, 04 Mar 2020 07:50:18 -0800 (PST) X-Google-Smtp-Source: ADFU+vumW3rNgL+MPVJDshbxT504eHwmCqWtUapVNcPv1BSBeN4EC64c1zAmgNBuiPt6I4rpf/J1pg== X-Received: by 2002:aa7:d591:: with SMTP id r17mr3349923edq.156.1583337018107; Wed, 04 Mar 2020 07:50:18 -0800 (PST) Return-Path: Received: from [192.168.1.35] (47.red-88-21-205.staticip.rima-tde.net. [88.21.205.47]) by smtp.gmail.com with ESMTPSA id ch6sm1613575edb.87.2020.03.04.07.50.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Mar 2020 07:50:17 -0800 (PST) Subject: Re: [PATCH 0/2] OvmfPkg, ArmVirtPkg: sync Timeout with PcdPlatformBootTimeOut To: Laszlo Ersek , edk2-devel-groups-io Cc: Ard Biesheuvel , Jordan Justen , Leif Lindholm References: <20200304094413.19462-1-lersek@redhat.com> From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Message-ID: <48c79bd9-5961-867e-f081-a12f60b3e095@redhat.com> Date: Wed, 4 Mar 2020 16:50:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200304094413.19462-1-lersek@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 3/4/20 10:44 AM, 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 | = 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(-) >=20 Series: Reviewed-by: Philippe Mathieu-Daude