]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: add pc_machine_kvm_type to initialize XEN_EMULATE mode
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 12 Dec 2022 23:40:45 +0000 (23:40 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 21 Dec 2022 00:10:50 +0000 (00:10 +0000)
commitfb36b789bbed4cafd3315eff61133c4744af7b0f
tree5f4476ea50369a9b29e222892cba8c31e33484ba
parentfd283f5e51026515f4bcdd5f3e97e196b1761a5a
i386/xen: add pc_machine_kvm_type to initialize XEN_EMULATE mode

The xen_overlay device (and later similar devices for event channels and
grant tables) need to be instantiated. Do this from a kvm_type method on
the PC machine derivatives, since KVM is only way to support Xen emulation
for now.

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