KVM: x86: Add module parameter for supporting VMware backdoor
authorLiran Alon <liran.alon@oracle.com>
Mon, 12 Mar 2018 11:12:47 +0000 (13:12 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Mar 2018 21:01:40 +0000 (22:01 +0100)
commitc4ae60e4bbf8f5fd4929d2c98543d9c163cb336b
tree331db5ddd5008a3ca27dfd069af8b92d731f6358
parentdca7f1284f49911b459da313ece5d9c6dc3291f6
KVM: x86: Add module parameter for supporting VMware backdoor

Support access to VMware backdoor requires KVM to intercept #GP
exceptions from guest which introduce slight performance hit.
Therefore, control this support by module parameter.

Note that module parameter is exported as it should be consumed by
kvm_intel & kvm_amd to determine if they should intercept #GP or not.

This commit doesn't change semantics.
It is done as a preparation for future commits.

Signed-off-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/admin-guide/kernel-parameters.txt
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h