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:09:25 +0100 |
commit | 77cd461edb9740e7ff843ad6ea562b9ed30175a2 (patch) | |
tree | cba70fd7b6300c930e97222ebe19d07e12c29de1 | |
parent | 74dc0c833f11b071337fe2ea266c13ebd1e87e7e (diff) | |
download | poky-77cd461edb9740e7ff843ad6ea562b9ed30175a2.tar.gz |
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.
(From OE-Core rev: 7151dc110ef87518034fdcd7d85cbebdc76013ab)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 | |||
270 | if [ "$MACHINE" = "qemuarm64" ]; then | 270 | if [ "$MACHINE" = "qemuarm64" ]; then |
271 | QEMU_NETWORK_CMD="-netdev tap,id=net0,ifname=$TAP,script=no,downscript=no -device virtio-net-device,netdev=net0 " | 271 | QEMU_NETWORK_CMD="-netdev tap,id=net0,ifname=$TAP,script=no,downscript=no -device virtio-net-device,netdev=net0 " |
272 | DROOT="/dev/vda" | 272 | DROOT="/dev/vda" |
273 | ROOTFS_OPTIONS="-drive id=disk0,file=$ROOTFS,format=raw -device virtio-blk-device,drive=disk0" | 273 | ROOTFS_OPTIONS="-drive id=disk0,file=$ROOTFS,if=none,format=raw -device virtio-blk-device,drive=disk0" |
274 | fi | 274 | fi |
275 | 275 | ||
276 | KERNCMDLINE="mem=$QEMU_MEMORY" | 276 | KERNCMDLINE="mem=$QEMU_MEMORY" |