From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id C18AB9416AC for ; Sun, 20 Aug 2023 11:39:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Wjx+mNFPCVtCY14P/oK/IHX/PBwEMLQI/ef+fSGJYZY=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20140610; t=1692531568; v=1; b=waHdZFvayBsCu8tA8CQSZNvZVy43WWuF04gccWzDTTxTf5uDsBLOCVC/DQ7070t51QU8HsuR 2j6ApPp8lTz6bY+/ilDrR/xTMkkOoqz11ZRe5GYputybMUCjRiM0VGh3Q7uWmscWnZScI6DaB2F VQ4yxM1q1B2lKN6zKK/dlG9k= X-Received: by 127.0.0.2 with SMTP id BJ5dYY7687511x64XdrCSkaF; Sun, 20 Aug 2023 04:39:28 -0700 X-Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mx.groups.io with SMTP id smtpd.web10.27404.1692531567312532676 for ; Sun, 20 Aug 2023 04:39:27 -0700 X-Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-31977ace1c8so2192801f8f.1 for ; Sun, 20 Aug 2023 04:39:27 -0700 (PDT) X-Gm-Message-State: sbKae728dt6heeNowCRw0Zqlx7686176AA= X-Google-Smtp-Source: AGHT+IFWibf4/0hjvtaqmnxNslPSXJMDkCJLb1vwFInJbDR1Wwes+LCqlp9oGg55BNKPKYLnS/0t2Xj7J92YaNsWvhw= X-Received: by 2002:a5d:5263:0:b0:319:6e71:d1dd with SMTP id l3-20020a5d5263000000b003196e71d1ddmr2445940wrc.12.1692531565213; Sun, 20 Aug 2023 04:39:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Mike Beaton" Date: Sun, 20 Aug 2023 12:39:13 +0100 Message-ID: Subject: Re: [edk2-devel] OVMF build.sh change is incorrect To: devel@edk2.groups.io Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mjsbeaton@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=waHdZFva; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This is now in https://bugzilla.tianocore.org/show_bug.cgi?id=3D4528 as it should have been in the first place! On Sun, 13 Aug 2023 at 11:34, Mike Beaton wrote: > > Perhaps I can briefly clarify: > > "This now no longer works" was too brief - of course the listed command d= oes build and start QEMU. But, to clarify, a rebuild is not what is wanted = here, both for the additional time it takes, and for the fact that it reset= s (rebuilds) the NVRAM of the VM. > > The advantage of using `build.sh -a ... -b ... qemu ...` to launch QEMU w= ithout building (as was previously possible) is that it automatically selec= ts the correct qemu command and correct built OVMF BIOS binary to match the= related build command. > > Mike > > On Sun, 13 Aug 2023 at 11:13, Mike Beaton wrote: >> >> I believe this change https://github.com/tianocore/edk2/commit/173a7a7da= aad560cd69e1000faca1d2b91774c46 may have misunderstood the purpose of the p= revious code. >> >> I used to frequently use: >> >> `./build.sh -a X64 -b RELEASE` (or whichever arch and build target I req= uired) to build OVMF >> >> and then: >> >> `./build.sh -a X64 -b RELEASE qemu {my-qemu-flags}` to run OVMF >> >> This now no longer works, since the second command also attempts to rebu= ild OVMF every time you run it. >> >> I believe the previous behaviour was intended and more useful. >> >> Mike Beaton >> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107897): https://edk2.groups.io/g/devel/message/107897 Mute This Topic: https://groups.io/mt/100750154/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-