]> 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>
Mon, 28 Feb 2022 19:42:44 +0000 (19:42 +0000)
commit7de7f8fb4894b6e50931a824c5c9c028877c3634
tree03e7c857ae9ab565ae7cc35051c0a78cdf9715eb
parent3607ad270454f2e2892095bc5f24329f88f40e0f
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