I need to run OpenWRT in QEMU for large scale analysis. I tried to add "-cdrom" option to qemu when start my openwrt vm and using "-usb -device usb-host" option to specify the usb mounted in my host machine. But neither work.
I read the official document "OpenWrt in QEMU" and installed iso9660 driver but it still not work.
WoW Thanks! you help me a lot. I re-compiled from OpenWRT source code. When I run the command "make menuconfig" and selected some features like kmod support, especially "kmod-scsi-core", block-mount and something else.
When the compile process completed, I re-run the QEMU VM with these new generated rootfs-ext4.img and vmlinux.elf. It recognized the cdrom I mounted and mount successful.