]> xenbits.xensource.com Git - people/pauldu/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>
Sun, 29 Jan 2023 16:58:51 +0000 (17:58 +0100)
commited794d36974d44aaea01787b5959f6f88817a1d4
treedcda639d426f0b30d7384ff83152adb2f19e3fc3
parent38210884ff27de74b26922eeb0ee30eb457f3015
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 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