[OE-core] [wic][PATCH 02/15] runqemu: don't use virtio for wic images
Ed Bartosh
ed.bartosh at linux.intel.com
Tue Feb 2 07:27:54 UTC 2016
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 <ed.bartosh at linux.intel.com>
---
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
More information about the Openembedded-core
mailing list