Qemu 'virtio-9p-device' is not a valid device model name

226 views
Skip to first unread message

xianshuai yang

unread,
Dec 6, 2021, 12:48:26 AM12/6/21
to RISC-V SW Dev
run qemu-system-riscv64 -nographic -machine virt -m 2G -smp 4 -kernel build-qemu-bbl/bbl -append "console=ttyS0 besspin.set_clock=$(date --iso-8601=sec) besspin.debian_repo=http://deb.debian.org/debian-ports/ besspin.dhcp_addr=1" -fsdev local,id=virtfs,path=/home/rongyitong/BESSPIN-GFE/bootmem/virtfs,security_model=mapped-file -device virtio-9p-device,fsdev=virtfs,mount_tag=virtfs -device virtio-net-device,netdev=usernet -netdev user,id=usernet,hostfwd=tcp::10001-:22


qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
qemu-system-riscv64: -device virtio-9p-device,fsdev=virtfs,mount_tag=virtfs: 'virtio-9p-device' is not a valid device model name


Tommy Murphy

unread,
Dec 6, 2021, 3:17:37 AM12/6/21
to xianshuai yang, RISC-V SW Dev
Was QEMU configured and built to include virtio-9p-device support?
Reply all
Reply to author
Forward
0 new messages