From: Gerd Hoffmann <kraxel@redhat.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>,
Igor Mammedov <imammedo@redhat.com>,
qemu-devel@nongnu.org, mst@redhat.com, pbonzini@redhat.com,
ehabkost@redhat.com, peter.maydell@linaro.org,
Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: Re: [Qemu-devel] edk2 submodule + binaries (Re: [PATCH V5 2/7] tests/acpi: add pxb/pxb-pcie tests)
Date: Tue, 19 Jul 2016 12:48:01 +0200 [thread overview]
Message-ID: <1468925281.28378.121.camel@redhat.com> (raw)
In-Reply-To: <54e1ba41-0a0f-59f9-c24b-bfa054fbba62@redhat.com>
Hi,
> > (2) ia32 ovmf too? Will anybody use it?
>
> Then the next question is, what's the status of 32-bit UEFI OSes? Simple:
> [ summary: bad ]
Yep, that matches the impression I have.
Guess we don't want bother then.
> Enabling Secure Boot in the OVMF binary is orthogonal to all of the
> above, but it has a licensing impact. It embeds (a subset of) OpenSSL in
> the binary, and changes the terms from "2-clause BSDL" to "2-clause BSDL
> and OpenSSL license" ("and" in the restrictive, not permissive, sense).
> I'm unsure if QEMU is willing and able to distribute such binaries.
>
> For the widest and simplest usability, X64 (without the SMM driver stack
> and without Secure Boot) is likely the best.
Yes (also note the smm-enabled one doesn't run on i440fx).
So the options I see are (a) build without smm or (b) build two
variants.
> Anyway, I digress. Point is, GRUB is already UEFI capable (I don't know
> uboot), so GRUB should be able to look up the DTB sysconfig table, and
> use that. The sysconfig table in question is identified by the GUID
>
> B1B621D5-F19C-41A5-830B-D9152C69AAE0
grub already does that on aarch64, but not on arm.
So that should be fixable without too much effort.
u-boot is out for -M virt due to missing virtio drivers.
> $ qemu-system-(arm|aarch64) \
> -nographic -machine virt,dumpdtb=virt-dump.dtb
> $ dtc -I dtb -O dts <virt-dump.dtb | less
>
> but that's not the right way to carry the DTB from QEMU to guest code
Exactly. That just creates a reverse problem. Instead of copying the
kernel from the image you now have to copy the dtb file to the image.
> > There is one for the
> > vexpress boards, which actually works (for v9). But it lists only the
> > hardware physical vexpress boards have, any virtio-mmio devices you add
> > are not listed there.
>
> Right, the generated DTB lists all the virtio-mmio transports.
But u-boot looks for dtb files in /boot/dtbs/$kernelver/ instead of
using the one provided by qemu. So virtio isn't there (virtio-mmio @
vexpress works for a direct kernel boot).
cheers,
Gerd
next prev parent reply other threads:[~2016-07-19 10:48 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-17 16:53 [Qemu-devel] [PATCH V5 0/7] pxb: fix 64-bit MMIO allocation Marcel Apfelbaum
2016-07-17 16:53 ` [Qemu-devel] [PATCH V5 1/7] hw/pcie-root-port: Fix PCIe root port initialization Marcel Apfelbaum
2016-07-17 16:53 ` [Qemu-devel] [PATCH V5 2/7] tests/acpi: add pxb/pxb-pcie tests Marcel Apfelbaum
2016-07-18 13:34 ` Igor Mammedov
2016-07-18 14:17 ` Marcel Apfelbaum
2016-07-18 14:54 ` Igor Mammedov
2016-07-18 19:27 ` Marcel Apfelbaum
2016-07-18 17:52 ` Laszlo Ersek
2016-07-18 19:32 ` Marcel Apfelbaum
2016-07-18 20:08 ` Laszlo Ersek
2016-07-19 9:06 ` [Qemu-devel] edk2 submodule + binaries (Re: [PATCH V5 2/7] tests/acpi: add pxb/pxb-pcie tests) Gerd Hoffmann
2016-07-19 9:30 ` Peter Maydell
2016-07-19 10:05 ` Gerd Hoffmann
2016-07-19 10:40 ` Laszlo Ersek
2016-07-19 9:59 ` Laszlo Ersek
2016-07-19 10:13 ` Laszlo Ersek
2016-07-19 10:48 ` Gerd Hoffmann [this message]
2016-07-19 11:42 ` Laszlo Ersek
2016-07-19 12:46 ` Gerd Hoffmann
2016-07-19 14:25 ` Marcel Apfelbaum
2016-07-19 7:34 ` [Qemu-devel] [PATCH V5 2/7] tests/acpi: add pxb/pxb-pcie tests Igor Mammedov
2016-07-19 8:10 ` Marcel Apfelbaum
2016-07-17 16:53 ` [Qemu-devel] [PATCH V5 3/7] hw/pxb: declare pxb devices as not hot-pluggable Marcel Apfelbaum
2016-07-17 16:53 ` [Qemu-devel] [PATCH V5 4/7] hw/acpi: fix a DSDT table issue when a pxb is present Marcel Apfelbaum
2016-07-17 16:53 ` [Qemu-devel] [PATCH V5 5/7] acpi: refactor pxb crs computation Marcel Apfelbaum
2016-07-17 16:53 ` [Qemu-devel] [PATCH V5 6/7] hw/apci: handle 64-bit MMIO regions correctly Marcel Apfelbaum
2016-07-17 16:53 ` [Qemu-devel] [PATCH V5 7/7] tests/acpi: Add pxb/pxb-pcie tests blobs Marcel Apfelbaum
2016-07-19 5:30 ` [Qemu-devel] [PATCH V5 0/7] pxb: fix 64-bit MMIO allocation Marcel Apfelbaum
2016-07-26 18:30 ` Michael S. Tsirkin
2016-07-27 4:27 ` Marcel Apfelbaum
2016-07-27 4:43 ` Michael S. Tsirkin
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=1468925281.28378.121.camel@redhat.com \
--to=kraxel@redhat.com \
--cc=ard.biesheuvel@linaro.org \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=lersek@redhat.com \
--cc=marcel@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--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).