No way to emulate Risc-V
Describe the issue
Downloaded the latest ubuntu server 25.04 image. Set up utm to resemble how I run qemu on my linux machine using the command line (running the same image file). While it works on my linux machine, with utm it doesn't. I always get a "display output is not active' on utm (virt-gpu-pci).
Ubuntu has a tutorial on how to run their images, which I followed: https://canonical-ubuntu-boards.readthedocs-hosted.com/en/latest/how-to/qemu-riscv/ It works on Linux, but not with UTM. No matter how I configure UTM, it doesn't work for risc-v.
Configuration
- UTM Version: latest
- macOS Version: latest
- Mac Chip (Intel, M1, ... ): M1
Same issue, I tried every single riscv configurations but it fails. (Like unknown device)
Same issue, I am trying to load u-boot via a Kernel parameter but does not work.
Work using qemu on macOS:
qemu-system-riscv64
-machine virt -nographic -m 2048 -smp 4
-kernel Boot/qemu-riscv64_smode/uboot.elf
-device virtio-net-device,netdev=eth0 -netdev user,id=eth0
-device virtio-rng-pci
-drive file=ubuntu-25.04-preinstalled-server-riscv64.img,format=raw,if=virtio
I can run it from the command line too, the problem is UTM.