diff options
author | Jim Mattson <jmattson@google.com> | 2016-12-22 15:49:55 -0800 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-01-09 14:48:04 +0100 |
commit | 21e7fbe7db2a983c046a05f12419d88c554a0f5a (patch) | |
tree | ada5e49533415046a1e1c5fe2ad07e7b4172a6c6 /arch/x86/kvm/emulate.c | |
parent | 4d82d12b39132e820b9ac4aa058ccc733db98917 (diff) |
kvm: nVMX: Reorder error checks for emulated VMXON
Checks on the operand to VMXON are performed after the check for
legacy mode operation and the #GP checks, according to the pseudo-code
in Intel's SDM.
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions