On Thu, Sep 12, 2024 at 04:00:38PM GMT, zhouquan@xxxxxxxxxxx wrote: > From: Quan Zhou <zhouquan@xxxxxxxxxxx> > > For the information collected on the host side, we need to > identify which data originates from the guest and record > these events separately, this can be achieved by having > KVM register perf callbacks. > > Signed-off-by: Quan Zhou <zhouquan@xxxxxxxxxxx> > --- > arch/riscv/include/asm/kvm_host.h | 10 ++++++++++ > arch/riscv/kvm/Kconfig | 1 + > arch/riscv/kvm/main.c | 12 ++++++++++-- > arch/riscv/kvm/vcpu.c | 7 +++++++ > 4 files changed, 28 insertions(+), 2 deletions(-) > Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>