From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.132.183.28; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 285DD21A10974 for ; Tue, 28 Nov 2017 12:34:45 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8AB585F7AC; Tue, 28 Nov 2017 20:39:08 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-99.rdu2.redhat.com [10.10.120.99]) by smtp.corp.redhat.com (Postfix) with ESMTP id AFD5A5D759; Tue, 28 Nov 2017 20:39:07 +0000 (UTC) To: Ard Biesheuvel Cc: Jordan Justen , edk2-devel-01 References: <20171127190354.13699-1-lersek@redhat.com> <20171127190354.13699-3-lersek@redhat.com> From: Laszlo Ersek Message-ID: <923edafb-439d-509d-2ec3-d130b1300dd4@redhat.com> Date: Tue, 28 Nov 2017 21:39:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 28 Nov 2017 20:39:08 +0000 (UTC) Subject: Re: [PATCH 2/2] OvmfPkg/QemuBootOrderLib: let an OFW devpath match multiple UEFI boot opts X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2017 20:34:46 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 11/28/17 08:56, Ard Biesheuvel wrote: > On 27 November 2017 at 19:03, Laszlo Ersek wrote: >> This means that SetBootOrderFromQemu() will preserve all UEFI boot options >> matched by any given OFW devpath, such as PXEv4, HTTPv4, PXEv6 and HTTPv6 >> boot options for the same NIC. Currently we stop the matching / appending >> for the OFW devpath coming from the outer loop whenever we find the first >> UEFI boot option match in the inner loop. >> >> (The previous patch was about multiple OFW devpaths matching a single UEFI >> boot option (which should never happen). This patch is about a single OFW >> devpath matching multiple UEFI boot options. With the "break" statement >> removed here, the small optimization from the last patch becomes a bit >> more relevant, because now the inner loop always counts up to >> ActiveCount.) >> >> Cc: Ard Biesheuvel >> Cc: Jordan Justen >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Laszlo Ersek > > Acked-by: Ard Biesheuvel Series pushed as commit range f9bc2f876326..dc32e820f028. Thanks! Laszlo