KVM: x86: Inject PMI for KVM guest
authorLuwei Kang <luwei.kang@intel.com>
Tue, 19 Feb 2019 00:26:07 +0000 (19:26 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Apr 2019 19:32:13 +0000 (21:32 +0200)
commit8479e04e7d6b1974629a0f657afa8ec5f17d2e90
treecaee8e2fdcb18200174dcc7a548055e6c058fba9
parent3a1e5e4a2c7a1ec63e6d70a7e921f62bcbb57b85
KVM: x86: Inject PMI for KVM guest

Inject a PMI for KVM guest when Intel PT working
in Host-Guest mode and Guest ToPA entry memory buffer
was completely filled.

Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/events/intel/core.c
arch/x86/include/asm/msr-index.h
arch/x86/kvm/x86.c
include/linux/perf_event.h