[OE-core] [PATCH 2/3] runqemu-internal: add temporary disk interface to qemuarm64

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 15 13:22:36 UTC 2015


On Wed, 2015-07-15 at 16:17 +0300, Cristian Iorga wrote:

Why do we need to do this?

(Yes, I know why, but this commit doesn't tell me).

Cheers,

Richard

> 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"
> -- 
> 2.1.4
> 





More information about the Openembedded-core mailing list