]> git.proxmox.com Git - mirror_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, 1 Mar 2023 08:22:49 +0000 (08:22 +0000)
commite21be724eaf5dfdf1ac3595e0c808b775ec262f2
treea32065fa7acf41e9709148f1ea6fbbebe6b99478
parent7058fa02200e70bfecda10fd58c2555674d802ed
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