]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
kvm: nVMX: Correct a VMX instruction error code for VMPTRLD
authorGanShun <ganshun@google.com>
Wed, 30 Nov 2016 18:28:19 +0000 (10:28 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Dec 2016 14:02:44 +0000 (15:02 +0100)
commit37b9a671f346a184c4e381b32ee465cf7d248ae8
treeebea4170f4a53e45a35ce6f383ca8db9a4edf46d
parentcdb98c2698b4af287925abcba4d77d92af82a0c3
kvm: nVMX: Correct a VMX instruction error code for VMPTRLD

When the operand passed to VMPTRLD matches the address of the VMXON
region, the VMX instruction error code should be
VMXERR_VMPTRLD_VMXON_POINTER rather than VMXERR_VMCLEAR_VMXON_POINTER.

Signed-off-by: GanShun <ganshun@google.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c