Re: [PATCH v2 05/15] KVM: vmx/pmu: Emulate MSR_ARCH_LBR_DEPTH for guest Arch LBR

From: Yang, Weijiang
Date: Sat Dec 24 2022 - 23:30:40 EST



On 12/22/2022 7:00 PM, Like Xu wrote:
On 25/11/2022 12:05 pm, Yang Weijiang wrote:
@@ -571,6 +571,9 @@ struct kvm_pmu {
       * redundant check before cleanup if guest don't use vPMU at all.
       */
      u8 event_count;
+
+    /* Guest arch lbr depth supported by KVM. */
+    u64 kvm_arch_lbr_depth;

Please drop the "kvm_" prefix for per-vcpu "struct kvm_pmu".


OK, will remove it.




  };