]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86/xen: Only do in-kernel acceleration of hypercalls for guest CPL0
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 12 Nov 2022 13:52:25 +0000 (13:52 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 23 Nov 2022 16:55:20 +0000 (16:55 +0000)
commitfb1eec4b3b856732b2284cf37f0f804524a6a51b
tree9097939cb49fcf0053156424af74fa58454b73b9
parent0745c2f410bed2a2f28cd214684a70b9f0d118fb
KVM: x86/xen: Only do in-kernel acceleration of hypercalls for guest CPL0

There are almost no hypercalls which are valid from CPL > 0, and definitely
none which are handled by the kernel.

Fixes: 2fd6df2f2b47 ("KVM: x86/xen: intercept EVTCHNOP_send from guests")
Reported-by: Michal Luczaj <mhal@rbox.co>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Cc: stable@kernel.org
arch/x86/kvm/xen.c