]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite37587d338aabeb73b86624060340f0bdd6f41e9
tree4fe4d5bb95dda8c4cf503cfd90c525c6147e3497
parent5334e8bccdf2deff9b784562716b65707e6c9467
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