diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2015-07-07 16:44:58 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:08:46 +0100 |
commit | 7151dc110ef87518034fdcd7d85cbebdc76013ab (patch) | |
tree | 011e6f242665bfce97a3a6097afc0a9df099a67b /scripts/runqemu-internal | |
parent | 4d027bbb067cf508d73c0e23a77bbf430388b13f (diff) | |
download | openembedded-core-7151dc110ef87518034fdcd7d85cbebdc76013ab.tar.gz openembedded-core-7151dc110ef87518034fdcd7d85cbebdc76013ab.tar.bz2 openembedded-core-7151dc110ef87518034fdcd7d85cbebdc76013ab.zip |
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@intel.com>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-x | scripts/runqemu-internal | 2 |
1 files changed, 1 insertions, 1 deletions
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" |