[SRU] RISC-V: Incorrect time-base frequency in KVM
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
qemu (Ubuntu) | Status tracked in Oracular | |||||
Noble |
New
|
Undecided
|
Sergio Durigan Junior | |||
Oracular |
Fix Released
|
Undecided
|
Sergio Durigan Junior |
Bug Description
[ Impact ]
When running on RISC-V under KVM the displayed time does not match the wall-clock.
On a specific system U-Boot's and GRUB's count-down before booting where 10 times slower than expected.
Please, apply upstream patch
385e575cd5ab ("target/riscv/kvm: fix timebase-frequency when using KVM acceleration")
to Ubuntu 22.04 Noble and 22.10 Oracular.
[ Test Plan ]
Boot a RISC-V virtual machine according to https:/
Do the same with '-accel tcg'
Check that the count-down in U-Boot and GRUB matches the wall time.
[ Where problems could occur ]
Only RISC-V code is changed.
VMs might not boot anymore.
The time-base frequency could still be wrong.
[ Other Info ]
n/a
Changed in qemu (Ubuntu): | |
assignee: | nobody → Heinrich Schuchardt (xypron) |
description: | updated |
Changed in qemu (Ubuntu Noble): | |
assignee: | nobody → Heinrich Schuchardt (xypron) |
summary: |
- RISC-V: Incorrect time-base frequency in KVM + [SRU] RISC-V: Incorrect time-base frequency in KVM |
I've uploaded QEMU 9.0.2 to Oracular yesterday and it has this fix, so I'm marking its task as Fix Released.