From: Andrea Bolognani <abologna@redhat.com>
To: Laszlo Ersek <lersek@redhat.com>, qemu-devel@nongnu.org
Cc: marcel@redhat.com, drjones@redhat.com, kraxel@redhat.com
Subject: Re: [Qemu-devel] [PATCH v5 2/2] mach-virt: Provide sample configuration files
Date: Wed, 08 Feb 2017 19:49:16 +0100 [thread overview]
Message-ID: <1486579756.3641.30.camel@redhat.com> (raw)
In-Reply-To: <3fa3d4b8-3e3a-d6c4-a2c1-affef7361576@redhat.com>
On Wed, 2017-02-08 at 19:11 +0100, Laszlo Ersek wrote:
> How about:
>
> For any new guest, its permanent, private variable store should
> initially be copied from the template file provided as part of the
> ArmVirtQemu firmware platform (which is occasionally distributed
> under the AAVMF package).
The naming is confusing enough as it is, no need to drag
ArmVirtQemu into this I think ;)
> > +# Fedora:
> > +# /usr/share/edk2/aarch64/QEMU_EFI.fd
> > +# /usr/share/edk2/aarch64/QEMU_VARS.fd
>
> Please annotate each as firmware binary & variable store template.
I had such annotations at some points, I got rid of them
because they seemed a bit redundant. Added them back in.
> Also, I can't verify the exact pathnames for Fedora.
https://koji.fedoraproject.org/koji/rpminfo?rpmID=8491933 ;)
[...]
> > +# RHEL:
> > +# /usr/share/AAVMF/AAVMF_CODE.fd
> > +# /usr/share/AAVMF/AAVMF_VARS.fd
>
> Looks legit. (Might want to call "RHEL" "RHELSA" though, in this context
> -- no clue. Ask Drew :))
Yeah, you're probably right.
[...]
> Please expand the comment:
>
> CHANGE ME TO THE NAME OF THE FILE THAT YOU CREATED AS A COPY of THE
> VARSTORE TEMPLATE
Nope. The line would get waaay too long, and I trust the
user to understand the basic idea after having gone through
the paragraphs above.
Here's an updated version, what do you think about it?
# Firmware configuration
# =========================================================
#
# There are two parts to the firmware: a read-only image
# containing the executable code, which is shared between
# guests, and a read/write variable store that is owned
# by one specific guest, exclusively, and is used to record
# information such as the UEFI boot order.
#
# For any new guest, its permanent, private variable store
# should initially be copied from the template file
# provided along with the firmware binary.
#
# Depending on the OS distribution you're using on the
# host, the name of the package containing the firmware
# binary and variable store, as well as the paths to the
# files themselves, will be different. Some examples:
#
# Fedora:
# edk2-aarch64 (package)
# /usr/share/edk2/aarch64/QEMU_EFI.fd (binary)
# /usr/share/edk2/aarch64/QEMU_VARS.fd (template)
#
# RHELSA:
# AAVMF (package)
# /usr/share/AAVMF/AAVMF_CODE.fd (binary)
# /usr/share/AAVMF/AAVMF_VARS.fd (varstore)
--
Andrea Bolognani / Red Hat / Virtualization
next prev parent reply other threads:[~2017-02-08 18:49 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-08 17:35 [Qemu-devel] [PATCH v5 0/2] docs: Improve sample configuration files Andrea Bolognani
2017-02-08 17:35 ` [Qemu-devel] [PATCH v5 1/2] q35: " Andrea Bolognani
2017-02-08 17:35 ` [Qemu-devel] [PATCH v5 2/2] mach-virt: Provide " Andrea Bolognani
2017-02-08 18:11 ` Laszlo Ersek
2017-02-08 18:49 ` Andrea Bolognani [this message]
2017-02-08 19:34 ` Laszlo Ersek
2017-02-08 19:47 ` Andrea Bolognani
2017-02-09 9:49 ` Andrew Jones
2017-02-09 10:52 ` Andrea Bolognani
2017-02-08 18:32 ` Peter Maydell
2017-02-08 19:23 ` Laszlo Ersek
2017-02-08 19:40 ` Peter Maydell
2017-02-08 19:28 ` Andrea Bolognani
2017-02-08 19:36 ` Peter Maydell
2017-02-08 19:49 ` Laszlo Ersek
2017-02-09 13:53 ` Andrea Bolognani
2017-02-09 14:14 ` Andrew Jones
2017-02-08 19:36 ` Laszlo Ersek
2017-02-09 9:42 ` Andrew Jones
2017-02-09 9:57 ` Peter Maydell
2017-02-09 10:51 ` Andrea Bolognani
2017-02-09 12:28 ` Andrew Jones
2017-02-09 13:27 ` Andrea Bolognani
2017-02-09 14:08 ` Andrew Jones
2017-02-09 14:56 ` Andrea Bolognani
2017-02-09 15:26 ` Gerd Hoffmann
2017-02-09 15:10 ` Andrea Bolognani
2017-02-09 15:35 ` Andrew Jones
2017-02-09 16:11 ` Andrea Bolognani
2017-02-09 16:36 ` Andrew Jones
2017-02-09 17:06 ` Andrea Bolognani
2017-02-09 18:05 ` Andrew Jones
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-all 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=1486579756.3641.30.camel@redhat.com \
--to=abologna@redhat.com \
--cc=drjones@redhat.com \
--cc=kraxel@redhat.com \
--cc=lersek@redhat.com \
--cc=marcel@redhat.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).