]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfe70e544353f55309f713084eaa1edbcbcacc1c
treec51a8fe48de9c34c3a778eb9e798563c6abac176
parent27c41752c4eaccbf45625a17db3ea8dac93f6a95
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