Re: No 'virtio-bus' bus found for device 'virtio-blk-device' - Error

2023-07-31 Thread Peter Maydell
On Sun, 30 Jul 2023 at 21:32, Swedha R wrote: > > Hi , > when I run this following command , I am facing this problem for all machine > types rather that virt. > > qemu-system-riscv64 -M sifive_u -bios fw_jump.elf -kernel Image -append > "rootwait root=/dev/vda ro" -drive

No 'virtio-bus' bus found for device 'virtio-blk-device' - Error

2023-07-30 Thread Swedha R
Hi , when I run this following command , I am facing this problem for all machine types rather that virt. qemu-system-riscv64 -M sifive_u -bios fw_jump.elf -kernel Image -append "rootwait root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-pci,drive=hd0 -netdev