]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: move vmclear and vmptrld pre-checks to nested_vmx_check_vmptr
authorBandan Das <bsd@redhat.com>
Tue, 6 May 2014 06:19:18 +0000 (02:19 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 May 2014 17:00:43 +0000 (19:00 +0200)
commitf675a8a6ad38ef0c186f289761f4813b963b7dad
tree077d4bfbb946157b1be6720835df21fa5d306d33
parent424e8b448190517fbadd17af305f40727c8802de
KVM: nVMX: move vmclear and vmptrld pre-checks to nested_vmx_check_vmptr

Some checks are common to all, and moreover,
according to the spec, the check for whether any bits
beyond the physical address width are set are also
applicable to all of them

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c