KVM: VMX: Reorder some skip_emulated_instruction calls
authorKyle Huey <me@kylehuey.com>
Tue, 29 Nov 2016 20:40:38 +0000 (12:40 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Dec 2016 14:31:04 +0000 (15:31 +0100)
commit09ca3f20492fb0b03060b56a47afa211476740a8
tree82d9108f7b97375144c120cb45b82e5f11e39a72
parent6a908b628cff81d3f1eb737327c8b726c8fdfd4e
KVM: VMX: Reorder some skip_emulated_instruction calls

The functions being moved ahead of skip_emulated_instruction here don't
need updated IPs, and skipping the emulated instruction at the end will
make it easier to return its value.

Signed-off-by: Kyle Huey <khuey@kylehuey.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c