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>
This commit is contained in:
Avi Kivity 2011-03-07 12:51:22 +02:00
commit 6de12732c4
2 changed files with 15 additions and 6 deletions