diff options
author | Like Xu <like.xu@linux.intel.com> | 2022-04-11 18:19:41 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 04:48:08 -0400 |
commit | d10551738f6adcc3e6040fc846b171e72e94f0e9 (patch) | |
tree | 50b372a46c3630b3b92de7ba4bb1ab58cb430dd9 /arch/x86/mm/pf_in.h | |
parent | 902caeb6841a64072791b1c18f9f56089566865d (diff) | |
download | linux-d10551738f6adcc3e6040fc846b171e72e94f0e9.tar.bz2 |
KVM: x86: Set PEBS_UNAVAIL in IA32_MISC_ENABLE when PEBS is enabled
The bit 12 represents "Processor Event Based Sampling Unavailable (RO)" :
1 = PEBS is not supported.
0 = PEBS is supported.
A write to this PEBS_UNAVL available bit will bring #GP(0) when guest PEBS
is enabled. Some PEBS drivers in guest may care about this bit.
Signed-off-by: Like Xu <like.xu@linux.intel.com>
Message-Id: <20220411101946.20262-13-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/mm/pf_in.h')
0 files changed, 0 insertions, 0 deletions