]> 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, 22 Feb 2023 16:25:12 +0000 (16:25 +0000)
commit47fb3fd1619c38eb08cd738ac56ad247e708f3e4
tree037e39c17c16d7a4bbc3e29776daf5bcfa14c8cf
parentf42bdf1c68d22468fe37e9e60fbc76f5a4fb5f4b
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>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/pc.c