KVM: VMX: Optimize vmx_get_rflags()
authorAvi Kivity <avi@redhat.com>
Mon, 7 Mar 2011 10:51:22 +0000 (12:51 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:54 +0000 (07:56 -0400)
commit6de12732c42c7070af42e3d6e42ecee2838fc920
tree54de4d4a9407d071229daf42ad37042affbc61d6
parentf6e78475894d6534d7d62714a95e2265f53d2a92
KVM: VMX: Optimize vmx_get_rflags()

If called several times within the same exit, return cached results.

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