]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86/xen: intercept EVTCHNOP_send from guests
authorJoao Martins <joao.m.martins@oracle.com>
Thu, 3 Mar 2022 15:41:19 +0000 (15:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Mar 2022 09:36:29 +0000 (04:36 -0500)
commit9de535a1cdf783fb877837d1764dd7890eaeb314
treeffa038c7bf4868c121a65bdec7fa29c8fa04c0d7
parent4eb85ee423289e8bf791d6b3e8f25fb226d718a6
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>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220303154127.202856-10-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/xen.c
include/uapi/linux/kvm.h