]> 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)
commit57dae1d562e46f61c91d75cf7a9056da99c6077c
tree077d4bfbb946157b1be6720835df21fa5d306d33
parentce43c96a943e1550a4fcda9f66e6255aca87e8c5
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