]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Automatically add xen-platform PCI device for emulated Xen guests
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 17 Jan 2023 13:51:22 +0000 (13:51 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 1 Feb 2023 13:17:14 +0000 (13:17 +0000)
commit56a0cce196c4ab4e8ceb480c93c4401c4ea32c65
tree0f54d5f4f4e45f1b8f0ba87991ef933637c21213
parent3f0df64a33c788a334033aa75944ee59764ee565
hw/xen: Automatically add xen-platform PCI device for emulated Xen guests

It isn't strictly mandatory but Linux guests at least will only map
their grant tables over the dummy BAR that it provides, and don't have
sufficient wit to map them in any other unused part of their guest
address space. So include it by default for minimal surprise factor.

As I come to document "how to run a Xen guest in QEMU", this means one
fewer thing to tell the user about, according to the mantra of "if it
needs documenting, fix it first, then document what remains".

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/pc.c