mirror of
https://github.com/canonical/ubuntu-server-documentation.git
synced 2025-07-31 04:38:40 +00:00
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:
@ -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' \
|
||||
|
Reference in New Issue
Block a user