]> 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>
Thu, 29 Dec 2022 12:15:03 +0000 (12:15 +0000)
commit84e059e3174ad0496dd10594d56c41b99326e5d7
treeb01aa297a387fd89314e0f09e504c18ae97607b1
parent1bb0985fa5efe50df122b8eb57d121e5df6725e1
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/kvm/xen-emu.c