KVM: x86: Implement Intel PT MSRs read/write emulation
authorChao Peng <chao.p.peng@linux.intel.com>
Wed, 24 Oct 2018 08:05:14 +0000 (16:05 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:36 +0000 (11:28 +0100)
commitbf8c55d8dc094c85a3f98cd302a4dddb720dd63f
tree35b38bd31c90342cc5e7e9145dfc98d3f2356abd
parent6c0f0bba85a0de83b32ff8ccf3e5965815cc069b
KVM: x86: Implement Intel PT MSRs read/write emulation

This patch implement Intel Processor Trace MSRs read/write
emulation.
Intel PT MSRs read/write need to be emulated when Intel PT
MSRs is intercepted in guest and during live migration.

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>
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c