diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2018-09-26 09:23:43 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-17 00:29:51 +0200 |
commit | 02343cf207022ba349a9d66562659fce87144369 (patch) | |
tree | f6646bcbd9a5aea74b655463b25898b7f814162f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b7031fd40fcc741b0f9b0c04c8d844e445858b84 (diff) |
KVM: vmx: do not unconditionally clear EFER switching
Do not unconditionally call clear_atomic_switch_msr() when updating
EFER. This adds up to four unnecessary VMWrites in the case where
guest_efer != host_efer, e.g. if the load_on_{entry,exit} bits were
already set.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions