F*ck! It’s like we never left the nineties…
Why does this:
sudo qemu-system-x86_64 -boot menu=on -drive file=librem5r4.img format=img -vga virtio -display gtk -m 2G -enable-kvm
result in this:
WARNING: Image format was not specified for ‘librem5r4.img’ and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the ‘raw’ format explicitly to remove the restrictions.
qemu-system-x86_64: format=img: drive with bus=0, unit=0 (index=0) exists
If I am not mistaken the format is specified as ‘img’.