]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86/xen: Support per-vCPU event channel upcall via local APIC
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 9 Feb 2022 13:39:00 +0000 (13:39 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 3 Mar 2022 15:36:40 +0000 (15:36 +0000)
commit10e920b80941c0b4c94f1f20269e3abd95250b1c
tree72a2f898ed8fb2e426e283e8067c26243c5e3ad4
parentd3b67ce8b0613617c069e46fc68e274a1cd6a401
KVM: x86/xen: Support per-vCPU event channel upcall via local APIC

Windows uses a per-vCPU vector, and it's delivered via the local APIC
basically like an MSI (with associated EOI) unlike the traditional
guest-wide vector which is just magically asserted by Xen (and in the
KVM case by kvm_xen_has_interrupt() / kvm_cpu_get_extint()).

Now that the kernel is able to raise event channel events for itself,
being able to do so for Windows guests is also going to be useful.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/xen.c
include/uapi/linux/kvm.h