From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=17.151.62.66; helo=nwk-aaemail-lapp01.apple.com; envelope-from=afish@apple.com; receiver=edk2-devel@lists.01.org Received: from nwk-aaemail-lapp01.apple.com (nwk-aaemail-lapp01.apple.com [17.151.62.66]) (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 814362194D387 for ; Tue, 22 Jan 2019 20:01:26 -0800 (PST) Received: from pps.filterd (nwk-aaemail-lapp01.apple.com [127.0.0.1]) by nwk-aaemail-lapp01.apple.com (8.16.0.27/8.16.0.27) with SMTP id x0N3vKWo034801; Tue, 22 Jan 2019 20:01:14 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=mime-version : content-type : sender : from : message-id : subject : date : in-reply-to : cc : to : references; s=20180706; bh=kJnWBawQs9xSCKA38Ll8AHQgd7vr4oabL0RFJ0l7GQk=; b=GLga3LFDM++irPDeVZ2/qXiRwc9vROV48KNB605c8bcBF4gMxmb1nuWzUZJIl9sqzaKG q2d+0lcYLVU0NrxG4apbtY4d5zbtnAAkV0iMgi8rPi3qHiFhapKQGiaulwvQQiJyk9/h +5kcGt5AT09sP/hAZeI44VzE0yiYkP5ZSM/Ah0SM+cEK9DDrUSeyKLkMH3++zrWWMfO1 v+o3TtBE8z/Foyo/tnxJ9oKl5MvrGI5LTHLWlkmWqALndfp/o6UqBdI/+XSamToOLmKe ZAp9R+GgHbomcSERYymuKIQD5PTV20rP0ScwpArtzHY7vil5j55lVtBzAyM1SV6MH/aW qQ== Received: from mr2-mtap-s03.rno.apple.com (mr2-mtap-s03.rno.apple.com [17.179.226.135]) by nwk-aaemail-lapp01.apple.com with ESMTP id 2q43qdvsts-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 22 Jan 2019 20:01:14 -0800 MIME-version: 1.0 Received: from ma1-mmpp-sz10.apple.com (ma1-mmpp-sz10.apple.com [17.171.128.150]) by mr2-mtap-s03.rno.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPS id <0PLR005JGN61QS40@mr2-mtap-s03.rno.apple.com>; Tue, 22 Jan 2019 20:01:14 -0800 (PST) Received: from process_viserion-daemon.ma1-mmpp-sz10.apple.com by ma1-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) id <0PLR00300M6RR300@ma1-mmpp-sz10.apple.com>; Tue, 22 Jan 2019 20:01:13 -0800 (PST) X-Va-A: X-Va-T-CD: 81ca60fce39c2560b6c4a7e5841f9b8f X-Va-E-CD: c46fd4e2909427fd9cde26889e81a84f X-Va-R-CD: 2fd1e8177814e46343e2c63ab228f063 X-Va-CD: 0 X-Va-ID: e57fdb25-cb98-4dc9-8f4f-bc25256fabec X-V-A: X-V-T-CD: 81ca60fce39c2560b6c4a7e5841f9b8f X-V-E-CD: c46fd4e2909427fd9cde26889e81a84f X-V-R-CD: 2fd1e8177814e46343e2c63ab228f063 X-V-CD: 0 X-V-ID: 86aa0848-b5ad-4be8-b2a7-f48ca8feda06 Received: from process_milters-daemon.ma1-mmpp-sz10.apple.com by ma1-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) id <0PLR00500LPYUI00@ma1-mmpp-sz10.apple.com>; Tue, 22 Jan 2019 20:01:13 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-23_01:,, signatures=0 Received: from [17.234.213.35] (unknown [17.234.213.35]) by ma1-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPSA id <0PLR00HV3N5Y2R10@ma1-mmpp-sz10.apple.com>; Tue, 22 Jan 2019 20:01:13 -0800 (PST) Sender: afish@apple.com From: Andrew Fish Message-id: Date: Tue, 22 Jan 2019 20:00:42 -0800 In-reply-to: <734D49CCEBEEF84792F5B80ED585239D5BFCF8F8@SHSMSX103.ccr.corp.intel.com> Cc: David Woodhouse , Gerd Hoffmann , Laszlo Ersek , "Richardson, Brian" , Anthony Perard , Jordan Justen , "edk2-devel@lists.01.org" , Kevin O'Connor To: "Ni, Ray" References: <734D49CCEBEEF84792F5B80ED585239D5BF6035C@SHSMSX104.ccr.corp.intel.com> <20181220064447.7eflwhm3t5upj7ds@sirius.home.kraxel.org> <734D49CCEBEEF84792F5B80ED585239D5BF6895F@SHSMSX104.ccr.corp.intel.com> <734D49CCEBEEF84792F5B80ED585239D5BFCEBF2@SHSMSX103.ccr.corp.intel.com> <734D49CCEBEEF84792F5B80ED585239D5BFCF8F8@SHSMSX103.ccr.corp.intel.com> X-Mailer: Apple Mail (2.3445.6.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-23_01:, , signatures=0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: Drop CSM support in OvmfPkg? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2019 04:01:26 -0000 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT > On Jan 22, 2019, at 7:43 PM, Ni, Ray wrote: > >> -----Original Message----- >> From: David Woodhouse > >> Sent: Wednesday, January 23, 2019 12:23 AM >> To: Ni, Ray >; Gerd Hoffmann >; >> Laszlo Ersek >; Richardson, Brian >> > >> Cc: Justen, Jordan L >; edk2-devel@lists.01.org ; >> Kevin O'Connor >; Anthony Perard >> > >> Subject: Re: Drop CSM support in OvmfPkg? >> >> On Tue, 2019-01-22 at 16:13 +0000, Ni, Ray wrote: >>> David, >>> I'd like to re-start the discussion. >>> Could you please kindly explain the background/reason of adding CSM >>> support in OVMF? >>> Maybe knowing the reason can help to make further decisions of >>> whether to >>> A. keep it outside OvmfPkg >>> B. keep it inside OvmfPkg >>> C. maybe have a chance to just remove the CSM support after >>> revisiting >> >> >> The idea was to make it simple to have a single firmware image for >> virtual machines which would support both UEFI and Legacy boot for >> guests simultaneously. >> >> In libvirt there has been an alternative approach, where the BIOS image >> is switched between OVMF and SeaBIOS according to the configuration of >> the guest VM. >> >> That's fine for libvirt, but in situations where VM hosting is provided >> as a service, it becomes quite painful to manage the 'UEFI' vs. >> 'Legacy' flags on guest images and then switch firmware images >> accordingly. A one-size-fits-all BIOS using OVMF+CSM is very much >> preferable. > > David, > Thanks for sharing. I now understand that you do have a need of > CSM + UEFI OVMF image. > A very straightforward idea is to move all COM components you needed > into OvmfPkg. But Laszlo as the OvmfPkg owner may disagree with this. > So maybe you could set up another (github) repo and clone all the CSM components > there. > EDKII build tool supports to build firmware from multiple repos. > That's how we can have edk2-platforms and to-be-created edk2-app. > In practical, you could create a new csm repo. > Laszlo/Gerd who don't care about CSM can just build OVMF image from edk2 repo. > You can build the OVMF image from edk2 and csm repo. > Ray, I kind or agree at this point CSM is really more interesting for virtual machines vs. real platforms. I guess the interesting question to ask is do we want to start making it more part of the virtual machines that happen to be checked into TianoCore, or should we keep it more generic? The thinking being the CSM is likely upstreamed in other more commercial VMs? Can we just add a readme to the current CSM package and explain it mostly exists to support VMs? Thanks, Andrew Fish > We can have a call if you are ok. I can explain how that can work in details. > > Thanks, > Ray > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel