]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: Add support for Xen event channel delivery to vCPU
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 16 Dec 2022 14:32:25 +0000 (14:32 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 20 Jan 2023 12:28:51 +0000 (12:28 +0000)
commitf8305d04b48823b898e3357619b02ab2a39fa59c
tree4a3f51b381cbf24ef744e6fd6c136c9a90f7f92f
parentf24b45a68de827414392d1dd477527166570d93a
i386/xen: Add support for Xen event channel delivery to vCPU

The kvm_xen_inject_vcpu_callback_vector() function will either deliver
the per-vCPU local APIC vector (as an MSI), or just kick the vCPU out
of the kernel to trigger KVM's automatic delivery of the global vector.
Support for asserting the GSI/PCI_INTX callbacks will come later.

Also add kvm_xen_get_vcpu_info_hva() which returns the vcpu_info of
a given vCPU.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
include/sysemu/kvm_xen.h
target/i386/cpu.h
target/i386/kvm/xen-emu.c