Comment 0 for bug 2076651

Revision history for this message
Heinrich Schuchardt (xypron) wrote : Crash on RISC-V in virtual machine using KVM

On RISC-V hardware offering the hypervisor extension GRUB crashes in virtual machines running under KVM due to missing accessibility of the counter register.

For measuring time the RISC-V ISA provides the time register.

Please, apply the following patch:

[PATCH 1/1] riscv: use time register in grub_efi_get_time_ms()
https://lists.gnu.org/archive/html/grub-devel/2024-08/msg00008.html