From: "Laszlo Ersek" <lersek@redhat.com>
To: Jianyong Wu <jianyong.wu@arm.com>,
edk2-devel-groups-io <devel@edk2.groups.io>,
Sami Mujawar <Sami.Mujawar@arm.com>
Cc: justin.he@arm.com, Ard Biesheuvel <ardb+tianocore@kernel.org>,
Leif Lindholm <leif@nuviainc.com>
Subject: Re: [edk2-devel] [PATCH v1 1/4] ArmVirtPkg: Library: Memory initialization for Cloud Hypervisor
Date: Fri, 23 Apr 2021 14:00:26 +0200 [thread overview]
Message-ID: <a9a9d330-c5d6-af6f-8ae5-04d9e6bc4218@redhat.com> (raw)
In-Reply-To: <bfa4d21a-2c5a-da26-4b35-23c3fc7d4886@redhat.com>
Hi Jianyong,
On 04/22/21 15:56, Laszlo Ersek wrote:
> (2) "Clh" is a catastrophically bad abbreviation. The whole point of
> your work is to add Cloud Hypervisor support, so why trash the most
> relevant information in the file names with an inane abbreviation?
>
> (Not to mention that the name "Cloud Hypervisor" itself is as
> nondescript as possible. :/)
In an attempt to approach this constructively, I've given it more
thought. Does "CloudHv" sound acceptable to the community? I've seen
"hv" stand for "hypervisor" frequently.
I have another high-level note. I could delay it until after you post
v2, but I figure I could save you some time by sharing my observation
with you right now.
I think that the ACPI platform stuff, in patch#2, does not belong in
OvmfPkg/AcpiPlatformDxe. What's more, I don't think it belongs in
OvmfPkg, even.
The CloudHvAcpiPlatformDxe and CloudHvPlatformHasAcpiDtDxe drivers
should exist as stand-alone, self-contained drivers; they should be as
minimal as possible. This is already a given for
"CloudHvPlatformHasAcpiDtDxe", but it should also be possible for
"CloudHvAcpiPlatformDxe". OvmfPkg/AcpiPlatformDxe is a complex driver,
and the overlap between what OvmfPkg/AcpiPlatformDxe currently does, and
what CloudHvAcpiPlatformDxe actually *needs*, is virtually nil.
And so, the series shouldn't touch OvmfPkg at all.
Ultimately I suggest following the Xen pattern that can be seen under
ArmVirtPkg already. In detail, the following files and directories
should contain the new platform:
ArmVirtPkg/ArmVirtCloudHv.dsc
ArmVirtPkg/ArmVirtCloudHv.fdf
ArmVirtPkg/CloudHvAcpiPlatformDxe/
ArmVirtPkg/CloudHvPlatformHasAcpiDtDxe/
ArmVirtPkg/Library/CloudHvVirtMemInfoLib/
(And I don't really see the point of an FDF include file.)
Thanks!
Laszlo
next prev parent reply other threads:[~2021-04-23 12:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210422082440.172160-1-jianyong.wu@arm.com>
[not found] ` <20210422082440.172160-2-jianyong.wu@arm.com>
2021-04-22 13:56 ` [PATCH v1 1/4] ArmVirtPkg: Library: Memory initialization for Cloud Hypervisor Laszlo Ersek
2021-04-22 14:13 ` Sami Mujawar
2021-04-26 8:33 ` jianyong.wu
2021-04-23 12:00 ` Laszlo Ersek [this message]
2021-04-26 10:29 ` [edk2-devel] " Jianyong Wu
2021-04-26 8:43 ` Jianyong Wu
2021-05-04 8:31 ` [edk2-devel] " Sami Mujawar
2021-05-04 18:03 ` 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=a9a9d330-c5d6-af6f-8ae5-04d9e6bc4218@redhat.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