diff options
author | Avi Kivity <avi@redhat.com> | 2011-03-07 12:51:22 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-11 07:56:54 -0400 |
commit | 6de12732c42c7070af42e3d6e42ecee2838fc920 (patch) | |
tree | 54de4d4a9407d071229daf42ad37042affbc61d6 /arch/x86/include | |
parent | f6e78475894d6534d7d62714a95e2265f53d2a92 (diff) | |
download | blackbird-op-linux-6de12732c42c7070af42e3d6e42ecee2838fc920.tar.gz blackbird-op-linux-6de12732c42c7070af42e3d6e42ecee2838fc920.zip |
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index c8af0991fdf0..5af426464954 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -118,6 +118,7 @@ enum kvm_reg { enum kvm_reg_ex { VCPU_EXREG_PDPTR = NR_VCPU_REGS, VCPU_EXREG_CR3, + VCPU_EXREG_RFLAGS, }; enum { |