]> 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, 24 Feb 2022 10:10:06 +0000 (10:10 +0000)
commit911cf79bce29a6e085034e404bf0e45d0b03c2fd
tree18070443b29348e78445ee9751274f45c497ad22
parent57c1ecaff1fd8a6ce8366868b7e8caac9a2c6e03
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