linux/arch/x86/kvm/vmx
Paolo Bonzini 9c9520ce88 KVM: vmx/pmu: Add PMU_CAP_LBR_FMT check when guest LBR is enabled
Usespace could set the bits [0, 5] of the IA32_PERF_CAPABILITIES
MSR which tells about the record format stored in the LBR records.

The LBR will be enabled on the guest if host perf supports LBR
(checked via x86_perf_get_lbr()) and the vcpu model is compatible
with the host one.

Signed-off-by: Like Xu <like.xu@linux.intel.com>
Message-Id: <20210201051039.255478-4-like.xu@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-02-04 05:27:24 -05:00
..
capabilities.h KVM: vmx/pmu: Add PMU_CAP_LBR_FMT check when guest LBR is enabled 2021-02-04 05:27:24 -05:00
evmcs.c KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a system ioctl 2020-11-15 09:49:11 -05:00
evmcs.h KVM: VMX: eVMCS: make evmcs_sanitize_exec_ctrls() work again 2020-10-31 10:27:58 -04:00
nested.c KVM: VMX: Convert vcpu_vmx.exit_reason to a union 2021-02-04 05:27:21 -05:00
nested.h KVM: nVMX: check for required but missing VMCS12 in KVM_SET_NESTED_STATE 2020-07-27 09:04:49 -04:00
pmu_intel.c KVM: vmx/pmu: Add PMU_CAP_LBR_FMT check when guest LBR is enabled 2021-02-04 05:27:24 -05:00
posted_intr.c KVM: VMX: Use x2apic_mode to avoid RDMSR when querying PI state 2021-02-04 05:27:22 -05:00
posted_intr.h KVM: vmx: rename pi_init to avoid conflict with paride 2020-10-24 04:09:54 -04:00
vmcs.h KVM: VMX: Add a helper to test for a valid error code given an intr info 2020-09-28 07:57:50 -04:00
vmcs12.c KVM: nVMX: Remove non-functional "support" for CR3 target values 2020-04-21 09:13:09 -04:00
vmcs12.h KVM: nVMX: Remove non-functional "support" for CR3 target values 2020-04-21 09:13:09 -04:00
vmcs_shadow_fields.h KVM: Fix some out-dated function names in comment 2020-01-21 13:57:27 +01:00
vmenter.S KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S 2020-12-11 19:00:57 -05:00
vmx.c KVM: vmx/pmu: Add PMU_CAP_LBR_FMT check when guest LBR is enabled 2021-02-04 05:27:24 -05:00
vmx.h KVM: vmx/pmu: Add PMU_CAP_LBR_FMT check when guest LBR is enabled 2021-02-04 05:27:24 -05:00
vmx_ops.h KVM: VMX: Rename ops.h to vmx_ops.h 2020-09-28 07:57:38 -04:00