]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: VMX: Make smaller physical guest address space support user-configurable
authorMohammed Gamal <mgamal@redhat.com>
Thu, 3 Sep 2020 14:11:22 +0000 (16:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Sep 2020 13:47:24 +0000 (09:47 -0400)
commit2361474337c6ced7b5e3f2f15e8fcc66f4efee53
tree6927cdc044f7b7ae2ff622019e367181bc9ee760
parentfdd016879ab3adba837120da1e022ce6405eb1bd
KVM: x86: VMX: Make smaller physical guest address space support user-configurable

This patch exposes allow_smaller_maxphyaddr to the user as a module parameter.
Since smaller physical address spaces are only supported on VMX, the
parameter is only exposed in the kvm_intel module.

For now disable support by default, and let the user decide if they want
to enable it.

Modifications to VMX page fault and EPT violation handling will depend
on whether that parameter is enabled.

Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
Message-Id: <20200903141122.72908-1-mgamal@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h
arch/x86/kvm/x86.c