[oe-commits] Cristian Iorga : runqemu-internal: add temporary disk interface to qemuarm64
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 20 09:42:07 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 7151dc110ef87518034fdcd7d85cbebdc76013ab
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7151dc110ef87518034fdcd7d85cbebdc76013ab
Author: Cristian Iorga <cristian.iorga at intel.com>
Date: Tue Jul 7 16:44:58 2015 +0300
runqemu-internal: add temporary disk interface to qemuarm64
Starting with qemu 2.4, a disk needs be attached via a specified
interface, even if that interface is none. In case of qemuarm64
machine, the board is virtual, so a none interface it works
correctly.
Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
---
scripts/runqemu-internal | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 6878251..03b40d8 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -270,7 +270,7 @@ else
if [ "$MACHINE" = "qemuarm64" ]; then
QEMU_NETWORK_CMD="-netdev tap,id=net0,ifname=$TAP,script=no,downscript=no -device virtio-net-device,netdev=net0 "
DROOT="/dev/vda"
- ROOTFS_OPTIONS="-drive id=disk0,file=$ROOTFS,format=raw -device virtio-blk-device,drive=disk0"
+ ROOTFS_OPTIONS="-drive id=disk0,file=$ROOTFS,if=none,format=raw -device virtio-blk-device,drive=disk0"
fi
KERNCMDLINE="mem=$QEMU_MEMORY"
More information about the Openembedded-commits
mailing list