]> 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>
Tue, 10 Jan 2023 11:33:32 +0000 (11:33 +0000)
commit275b604036cd5fdcd2df94a23f77a99bfc851777
tree3e4b9d3ef1ef82697513a53bc631ee4bbe3b7886
parent222b0fbfec6a7bb44cf00b29df66ef83ae5e1ca1
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>
include/sysemu/kvm_xen.h
target/i386/cpu.h
target/i386/kvm/xen-emu.c