KVM: x86: allow compiling out the Xen hypercall interface
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Feb 2021 09:54:45 +0000 (04:54 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Mar 2021 19:30:45 +0000 (14:30 -0500)
commitb59b153d1026b73deb032d01bb9319ebba896006
treec51a8fe48de9c34c3a778eb9e798563c6abac176
parentc462f859f895840e7cd4f20f822ad4c6df2db489
KVM: x86: allow compiling out the Xen hypercall interface

The Xen hypercall interface adds to the attack surface of the hypervisor
and will be used quite rarely.  Allow compiling it out.

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/Kconfig
arch/x86/kvm/Makefile
arch/x86/kvm/x86.c
arch/x86/kvm/xen.h