+37
−2
Loading
Mediated vPMU needs to accumulate the emulated instructions into counter and load the counter into HW at vm-entry. Moreover, if the accumulation leads to counter overflow, KVM needs to update GLOBAL_STATUS and inject PMI into guest as well. Suggested-by:Sean Christopherson <seanjc@google.com> Signed-off-by:
Dapeng Mi <dapeng1.mi@linux.intel.com> Signed-off-by:
Mingwei Zhang <mizhang@google.com> Tested-by:
Xudong Hao <xudong.hao@intel.com> Tested-by:
Manali Shukla <manali.shukla@amd.com> Link: https://patch.msgid.link/20251206001720.468579-30-seanjc@google.com Signed-off-by:
Sean Christopherson <seanjc@google.com>