]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c96dbc5de33fb9f4cabd200c5ada4a72313b6f0
treeebea4170f4a53e45a35ce6f383ca8db9a4edf46d
parent1a26d0dfc50020db52883f5f4f6c28e5745efcfb
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