]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: Add xen-version machine property and init KVM Xen support
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 3 Dec 2022 17:51:13 +0000 (09:51 -0800)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 7 Dec 2022 16:19:48 +0000 (16:19 +0000)
commit47b220bc3622f2d4ba1f71517753db7bfb91729c
tree4b84cbb628faf1204ded34612e45e3dbd2bef9e5
parent7586dabf87ad004d258ef5c1938f5404539cdec6
i386/xen: Add xen-version machine property and init KVM Xen support

This is a machine property for two main reasons. One is that it allows
us to set it in default_machine_opts for the xenfv platform when not
running on actual Xen. The other is that theoretically we *could* do
this with TCG too; we'd just have to implement a bunch of the stuff that
KVM already does for us.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/pc.c
hw/i386/pc_piix.c
include/hw/i386/pc.h
target/i386/kvm/kvm.c
target/i386/meson.build
target/i386/xen.c [new file with mode: 0644]
target/i386/xen.h [new file with mode: 0644]