System: Ubuntu 20.04 on WSL2 (Windows Subsystem for Linux)
I can launch ext4 image using 'runqemu' tool if I build the image using yocto. But I have not built the image locally, I have installed qemu. If I try to launch using this command
qemu-system-x86_64 -drive format=raw,file=core-image-qemux86-64.ext4
it gives me this error
Unable to init server: Could not connect: Connection refused WARNING: Image format was not specified for 'core-image-qemux86-64.ext4' 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: ext4: drive with bus=0, unit=0 (index=0) exists
Would be great if anybody could help, thanks!