Document workaround for RTC issue on qemu-microvm (#274)

As documented in this bug[1] qboot doesn't support kvm-clock and microvm
has RTC disabled by default. To workaround the qboot limitation, we can
explicitly enable RTC with microvm.

[1] https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2074073
This commit is contained in:
Gauthier Jolly
2025-06-04 09:44:25 +02:00
committed by GitHub
parent 0e3fea4d45
commit 8caf7c4f4c

View File

@ -171,7 +171,7 @@ For more details on what else could be disabled see
Run the guest in `qemu-system-x86_64-microvm`:
```bash
$ sudo qemu-system-x86_64-microvm -m 128M -machine accel=kvm \
$ sudo qemu-system-x86_64-microvm -m 128M -machine accel=kvm,rtc=on \
-bios /usr/share/qemu/qboot.rom \
-kernel /boot/vmlinuz-$(uname -r) \
-append 'console=ttyS0 root=/dev/vda fsck.mode=skip init=/usr/bin/hello' \