]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86/xen: intercept EVTCHNOP_send from guests
authorJoao Martins <joao.m.martins@oracle.com>
Mon, 7 Feb 2022 14:26:23 +0000 (14:26 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 9 Feb 2022 22:20:43 +0000 (22:20 +0000)
commit91fe0e909903b12a3ce2aec4b30761113bee76f1
tree3af851607bda0ddeee461dcca6ff8a4ae7a720eb
parentb7a73d3c9929af7c3a0528ca017d94b0934845b7
KVM: x86/xen: intercept EVTCHNOP_send from guests

Userspace registers a sending @port to either deliver to an @eventfd
or directly back to a local event channel port.

After binding events the guest or host may wish to bind those
events to a particular vcpu. This is usually done for unbound
and and interdomain events. Update requests are handled via the
KVM_XEN_EVTCHN_UPDATE flag.

Unregistered ports are handled by the emulator.

Co-developed-by: Ankur Arora <ankur.a.arora@oracle.com>
Co-developed-By: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
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