From: Cristian Iorga Date: Tue, 7 Jul 2015 13:44:58 +0000 (+0300) Subject: runqemu-internal: add temporary disk interface to qemuarm64 X-Git-Tag: 2015-10~1192 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7151dc110ef87518034fdcd7d85cbebdc76013ab;p=openembedded-core.git 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 --- diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 6878251635..03b40d8323 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"