diff options
author | Bandan Das <bsd@redhat.com> | 2014-05-06 02:19:16 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-06 19:00:27 +0200 |
commit | 3573e22cfecaac83f82ef4f6847d90e466fc8e10 (patch) | |
tree | ad68136dbdd69476b8bfcced376aa392a4b89b76 /arch/x86/kvm/cpuid.c | |
parent | 19677e32fe7d6913e07ce80f6f3dc7663ac7fe67 (diff) | |
download | linux-3573e22cfecaac83f82ef4f6847d90e466fc8e10.tar.gz linux-3573e22cfecaac83f82ef4f6847d90e466fc8e10.tar.bz2 linux-3573e22cfecaac83f82ef4f6847d90e466fc8e10.zip |
KVM: nVMX: additional checks on vmxon region
Currently, the vmxon region isn't used in the nested case.
However, according to the spec, the vmxon instruction performs
additional sanity checks on this region and the associated
pointer. Modify emulated vmxon to better adhere to the spec
requirements
Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/cpuid.c')
-rw-r--r-- | arch/x86/kvm/cpuid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 333b88db22fe..17b42fabc842 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c @@ -732,6 +732,7 @@ int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) not_found: return 36; } +EXPORT_SYMBOL_GPL(cpuid_maxphyaddr); /* * If no match is found, check whether we exceed the vCPU's limit |