]> 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>
Mon, 30 Jan 2023 18:31:56 +0000 (18:31 +0000)
commit2a900c6afec03476f7386dd25e382c2cd05ee3c1
tree926bc603d0701699565c0c6fd556a6acbd2818fd
parent0ce2f7aa8f44d7543b5df3c058dfab73cc8185bf
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>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/pc.c
include/hw/i386/pc.h