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)
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

Simple merge