KVM: VMX: Refactor vmx_complete_atomic_exit()
authorAvi Kivity <avi@redhat.com>
Mon, 7 Mar 2011 15:24:54 +0000 (17:24 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:56 +0000 (07:56 -0400)
commit00eba012d53e63f620455f7013917e4bf59424f2
tree4fe4d5bb95dda8c4cf503cfd90c525c6147e3497
parentf9902069c41254ad116e089e64ea21d3a000cc41
KVM: VMX: Refactor vmx_complete_atomic_exit()

Move the exit reason checks to the front of the function, for early
exit in the common case.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c