]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: additional checks on vmxon region
authorBandan Das <bsd@redhat.com>
Tue, 6 May 2014 06:19:16 +0000 (02:19 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 May 2014 17:00:27 +0000 (19:00 +0200)
commitb1cf846927a341496caa8cebe562edfd285fc46b
treead68136dbdd69476b8bfcced376aa392a4b89b76
parent40ea412946361743ccd35ef42b149093c6d76311
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>
arch/x86/kvm/cpuid.c
arch/x86/kvm/vmx.c