d11681c94f
Implement kvm_arch_init_vcpu interface for loongarch, in this function, we register VM change state handler. And when VM state changes to running, the counter value should be put into kvm to keep consistent with kvm, and when state change to stop, counter value should be refreshed from kvm. Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn> Signed-off-by: xianglai li <lixianglai@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-Id: <20240105075804.1228596-7-zhaotianrui@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
14 lines
823 B
Plaintext
14 lines
823 B
Plaintext
# See docs/devel/tracing.rst for syntax documentation.
|
|
|
|
#kvm.c
|
|
kvm_failed_get_regs_core(const char *msg) "Failed to get core regs from KVM: %s"
|
|
kvm_failed_put_regs_core(const char *msg) "Failed to put core regs into KVM: %s"
|
|
kvm_failed_get_fpu(const char *msg) "Failed to get fpu from KVM: %s"
|
|
kvm_failed_put_fpu(const char *msg) "Failed to put fpu into KVM: %s"
|
|
kvm_failed_get_mpstate(const char *msg) "Failed to get mp_state from KVM: %s"
|
|
kvm_failed_put_mpstate(const char *msg) "Failed to put mp_state into KVM: %s"
|
|
kvm_failed_get_counter(const char *msg) "Failed to get counter from KVM: %s"
|
|
kvm_failed_put_counter(const char *msg) "Failed to put counter into KVM: %s"
|
|
kvm_failed_get_cpucfg(const char *msg) "Failed to get cpucfg from KVM: %s"
|
|
kvm_failed_put_cpucfg(const char *msg) "Failed to put cpucfg into KVM: %s"
|