From: "Ard Biesheuvel" <ard.biesheuvel@linaro.org>
To: Laszlo Ersek <lersek@redhat.com>
Cc: "Yao, Jiewen" <jiewen.yao@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>,
"rebecca@bsdio.com" <rebecca@bsdio.com>,
"Justen, Jordan L" <jordan.l.justen@intel.com>
Subject: Re: [edk2-devel] Adding Bhyve support into upstream EDK2
Date: Sat, 7 Mar 2020 08:52:56 +0100 [thread overview]
Message-ID: <CAKv+Gu-xndTLvb1Ms-Hay9rdBB+dLQ4rdT5uqyViSpSOnpb6cg@mail.gmail.com> (raw)
In-Reply-To: <c3e5ac54-9b64-7cee-3813-cf1fdbce9e64@redhat.com>
On Sat, 7 Mar 2020 at 08:39, Laszlo Ersek <lersek@redhat.com> wrote:
>
> Hi Jiewen,
>
> On 03/07/20 02:43, Yao, Jiewen wrote:
> > Just saw Laszlo's email. Similar feedback. Especially, I like the regression test part.
>
> Thanks.
>
> > I am not sure how many virtual platforms we will have eventually.
> > If there are more and more, maybe we can create a new edk2-virt-platform repo, and put them together there. (Similar to edk2-platform repo for the physical platform)
>
> Regarding the last part ("move them together here") -- I'm 100% opposed
> to removing OvmfPkg and ArmVirtPkg from edk2. They *must* remain in the
> exact same git repository where the core (MdePkg, MdeModulePkg,
> CryptoPkg, SecurityPkg, UefiCpuPkg, ...) lives too, and share a common
> git history.
>
Agreed.
> ArmVirtPkg and OvmfPkg move very closely together with the core, most
> significant ArmVirtPkg and OvmfPkg contributions need changes (and
> therefore introduce new dependencies) on the core. Managing such
> dependencies is a nightmare evein with git submodules; it only works if
> the git history is shared. This problem is not theoretical, it already
> has a bad effect on edk2-platforms.
>
> For a recent example, my latest OvmfPkg patch series:
>
> https://bugzilla.tianocore.org/show_bug.cgi?id=1512#c18
>
> merged as commit range 61d3b2d4279e..1158fc8e2c7b, started by improving
> the logging in MdeModulePkg/PiSmmCore (a1ddad95933e), and fixing a bug
> in UefiCpuPkg/PiSmmCpuDxeSmm (90e11edd16c7).
>
> I don't necessarily mind if *new* virtual platforms are outside of the
> edk2 tree, but if I'm completely honest about "why", it's because I
> don't use those new platforms. And that's a *selfish* reason -- if I
> want ArmVirtPkg and OvmfPkg to benefit from sharing and interleaving
> their histories with the core, then other virtual platforms deserve the
> same, even if I don't use them.
>
> (In fact, I think that even edk2-platforms should never have been split
> out of edk2 -- but that ship has sailed. I believe I argued against
> separating edk2-platforms, but my reasons weren't strong or convincing
> enough.)
>
Yes, keeping platforms in sync with the core is more painful than it
should be. If we move all platforms out of the core, what are we going
to do for validation? Sure, we'll get a nice tickbox from Azure that
all the semicolons line up nicely, but being able to build something
that can be tested on actual hardware is essential IMO.
next prev parent reply other threads:[~2020-03-07 7:53 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-06 16:09 Adding Bhyve support into upstream EDK2 Rebecca Cran
2020-03-06 19:54 ` Laszlo Ersek
2020-03-06 20:04 ` [edk2-devel] " Laszlo Ersek
2020-03-07 1:29 ` Yao, Jiewen
2020-03-24 1:34 ` Rebecca Cran
2020-03-25 0:04 ` Laszlo Ersek
2020-03-25 18:18 ` [EXTERNAL] " Bret Barkelew
2020-03-27 12:56 ` Laszlo Ersek
2020-03-25 18:50 ` Rebecca Cran
[not found] ` <15F9E16A0219E7B7.19404@groups.io>
2020-03-07 1:43 ` Yao, Jiewen
2020-03-07 7:39 ` Laszlo Ersek
2020-03-07 7:52 ` Ard Biesheuvel [this message]
2020-03-08 2:40 ` Rebecca Cran
2020-03-09 6:08 ` Sean
2020-03-09 22:54 ` Laszlo Ersek
2020-03-09 23:17 ` Laszlo Ersek
2020-03-10 1:50 ` Sean
2020-03-10 9:05 ` Laszlo Ersek
2020-03-10 17:25 ` Sean
2020-03-10 17:54 ` Ard Biesheuvel
2020-03-10 19:10 ` Sean
2020-03-10 19:23 ` Michael D Kinney
2020-03-10 19:44 ` Sean
2020-03-10 20:04 ` Rebecca Cran
2020-03-11 0:05 ` Laszlo Ersek
2020-03-11 0:30 ` Sean
2020-03-11 3:21 ` Liming Gao
2020-03-10 23:34 ` Laszlo Ersek
2020-03-11 0:43 ` Leif Lindholm
2020-03-07 7:53 ` Laszlo Ersek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKv+Gu-xndTLvb1Ms-Hay9rdBB+dLQ4rdT5uqyViSpSOnpb6cg@mail.gmail.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox