]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
KVM: nVMX: fail on invalid vmclear/vmptrld pointer
authorBandan Das <bsd@redhat.com>
Tue, 6 May 2014 06:19:17 +0000 (02:19 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 May 2014 17:00:37 +0000 (19:00 +0200)
commit96ec146330d18a938b4773be8d6dd1f93399507c
treeaca783b3457514523a7500fa794003dc1fcfbb3e
parent3573e22cfecaac83f82ef4f6847d90e466fc8e10
KVM: nVMX: fail on invalid vmclear/vmptrld pointer

The spec mandates that if the vmptrld or vmclear
address is equal to the vmxon region pointer, the
instruction should fail with error "VMPTRLD with
VMXON pointer" or "VMCLEAR with VMXON pointer"

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