diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2021-08-27 15:02:43 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-22 05:19:26 -0400 |
commit | 2e6e0d683b77b1e08e5e03146ca3b8e033492666 (patch) | |
tree | 70f543e2d0974c14b4680dfcb4196fbd764df780 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 2839180ce5bb27ad5e1f092fdafede284a925e5c (diff) |
KVM: VMX: Restore host's MSR_IA32_RTIT_CTL when it's not zero
A minor optimization to WRMSR MSR_IA32_RTIT_CTL when necessary.
Opportunistically refine the comment to call out that KVM requires
VM_EXIT_CLEAR_IA32_RTIT_CTL to expose PT to the guest.
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20210827070249.924633-2-xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions