]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit4291b58885f5af560488a5b9667ca6930b9fdc3d
tree077d4bfbb946157b1be6720835df21fa5d306d33
parent96ec146330d18a938b4773be8d6dd1f93399507c
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