qemu hands with 'waiting for root device' message during the boot of wic images if '-drive if=virtio' option is used.
Removed if=virtio from qemu command line for wic images. This should fix above mentioned boot issue. Signed-off-by: Ed Bartosh <[email protected]> --- scripts/runqemu-internal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 4d5f6ad..8afcccf 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -265,7 +265,8 @@ else QEMU_NETWORK_CMD="-net nic,model=virtio $QEMU_TAP_CMD" fi DROOT="/dev/vda" - ROOTFS_OPTIONS="-drive file=$ROOTFS,if=virtio,format=raw" + ROOTFS_OPTIONS="-drive file=$ROOTFS,format=raw" + [ "$FSTYPE" != "wic" ] && ROOTFS_OPTIONS="$ROOTFS_OPTIONS,if=virtio" KERNCMDLINE="mem=$QEMU_MEMORY" QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice tablet" -- 2.1.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
