From 7151dc110ef87518034fdcd7d85cbebdc76013ab Mon Sep 17 00:00:00 2001 From: Cristian Iorga Date: Tue, 7 Jul 2015 16:44:58 +0300 Subject: 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 --- scripts/runqemu-internal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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" -- cgit 1.2.3-korg