commit | b08c28960f254bd246af8e30a468dfc7dd56e03b | [log] [tgz] |
---|---|---|
author | Chao Peng <chao.p.peng@linux.intel.com> | Wed Oct 24 16:05:15 2018 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Dec 21 11:28:37 2018 +0100 |
tree | 07ded28e09d131d36afc941e23fc422777f24bf2 | |
parent | bf8c55d8dc094c85a3f98cd302a4dddb720dd63f [diff] |
KVM: x86: Set intercept for Intel PT MSRs read/write To save performance overhead, disable intercept Intel PT MSRs read/write when Intel PT is enabled in guest. MSR_IA32_RTIT_CTL is an exception that will always be intercepted. Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com> Signed-off-by: Luwei Kang <luwei.kang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>