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 <[email protected]>
Signed-off-by: Yong-Xuan Wang <[email protected]>

---
Changelog
v2:
- update the function definition
- restructure if-else statement

Thanks!

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

---
  hw/riscv/virt.c              | 2 ++
  target/riscv/kvm/kvm-cpu.c   | 9 +++++++++
  target/riscv/kvm/kvm_riscv.h | 1 +
  3 files changed, 12 insertions(+)



Reply via email to