On 14/3/24 07:15, Yong-Xuan Wang wrote:
The timebase-frequency of guest OS should be the same with host
machine. The timebase-frequency value in DTS should be got from
hypervisor when using KVM acceleration.
Reviewed-by: Andrew Jones <ajo...@ventanamicro.com>
Signed-off-by: Yong-Xuan Wang <yongxuan.w...@sifive.com>
---
Changelog
v2:
- update the function definition
- restructure if-else statement
Thanks!
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
hw/riscv/virt.c | 2 ++
target/riscv/kvm/kvm-cpu.c | 9 +++++++++
target/riscv/kvm/kvm_riscv.h | 1 +
3 files changed, 12 insertions(+)