Skip to content

Commit 8e24eee

Browse files
Dongli Zhangsean-jc
authored andcommitted
KVM: VMX: fix comment to add LBR to passthrough MSRs
According to the is_valid_passthrough_msr(), the LBR MSRs are also passthrough MSRs, since the commit 1b5ac32 ("KVM: vmx/pmu: Pass-through LBR msrs when the guest LBR event is ACTIVE"). Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Link: https://lore.kernel.org/r/20240223202104.3330974-2-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent b1a3c36 commit 8e24eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kvm/vmx/vmx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ module_param(allow_smaller_maxphyaddr, bool, S_IRUGO);
159159

160160
/*
161161
* List of MSRs that can be directly passed to the guest.
162-
* In addition to these x2apic and PT MSRs are handled specially.
162+
* In addition to these x2apic, PT and LBR MSRs are handled specially.
163163
*/
164164
static u32 vmx_possible_passthrough_msrs[MAX_POSSIBLE_PASSTHROUGH_MSRS] = {
165165
MSR_IA32_SPEC_CTRL,

0 commit comments

Comments
 (0)