]> 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)
commitc9ccb14eae605dd176e727adc675b3cf469d9307
treead68136dbdd69476b8bfcced376aa392a4b89b76
parent39caa1d404410a9e467e03ced262f3b74467d590
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