summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu-internal9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index fb51754fc6..e346c64f51 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -275,9 +275,6 @@ else
275 275
276 KERNCMDLINE="mem=$QEMU_MEMORY" 276 KERNCMDLINE="mem=$QEMU_MEMORY"
277 QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice wacom-tablet" 277 QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice wacom-tablet"
278 if [ $MACHINE = 'qemuarm64' ]; then
279 QEMU_UI_OPTIONS="-nographic"
280 fi
281 278
282 NFS_INSTANCE=`echo $TAP | sed 's/tap//'` 279 NFS_INSTANCE=`echo $TAP | sed 's/tap//'`
283 export NFS_INSTANCE 280 export NFS_INSTANCE
@@ -383,7 +380,11 @@ if [ "$MACHINE" = "qemuarm64" ]; then
383 QEMU=qemu-system-aarch64 380 QEMU=qemu-system-aarch64
384 381
385 export QEMU_AUDIO_DRV="none" 382 export QEMU_AUDIO_DRV="none"
386 QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS" 383 if [ "x$SERIALSTDIO" = "x" ] ; then
384 QEMU_UI_OPTIONS="-nographic"
385 else
386 QEMU_UI_OPTIONS=""
387 fi
387 if [ "${FSTYPE:0:3}" = "ext" -o "$FSTYPE" = "btrfs" ]; then 388 if [ "${FSTYPE:0:3}" = "ext" -o "$FSTYPE" = "btrfs" ]; then
388 KERNCMDLINE="root=/dev/vda rw console=ttyAMA0,38400 mem=$QEMU_MEMORY highres=off $KERNEL_NETWORK_CMD" 389 KERNCMDLINE="root=/dev/vda rw console=ttyAMA0,38400 mem=$QEMU_MEMORY highres=off $KERNEL_NETWORK_CMD"
389 # qemu-system-aarch64 only support '-machine virt -cpu cortex-a57' for now 390 # qemu-system-aarch64 only support '-machine virt -cpu cortex-a57' for now