diff options
author | Luwei Kang <luwei.kang@intel.com> | 2019-02-19 03:26:07 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-04-30 22:32:13 +0300 |
commit | 8479e04e7d6b1974629a0f657afa8ec5f17d2e90 (patch) | |
tree | caee8e2fdcb18200174dcc7a548055e6c058fba9 /include | |
parent | 3a1e5e4a2c7a1ec63e6d70a7e921f62bcbb57b85 (diff) | |
download | linux-8479e04e7d6b1974629a0f657afa8ec5f17d2e90.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/perf_event.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index e47ef764f613..820c4ff31bc5 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -30,6 +30,7 @@ struct perf_guest_info_callbacks { int (*is_in_guest)(void); int (*is_user_mode)(void); unsigned long (*get_guest_ip)(void); + void (*handle_intel_pt_intr)(void); }; #ifdef CONFIG_HAVE_HW_BREAKPOINT |