]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcdd2f1226f68ed24e0f7f012ea1f55302c633ab5
tree331db5ddd5008a3ca27dfd069af8b92d731f6358
parentef351e4d199ce5dc6254ba15eb0775a01aa168ce
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