Update start-qemu

This commit is contained in:
Namhyeon Go 2021-11-15 02:18:12 +09:00 committed by GitHub
parent fd8e3e9aa3
commit 0ccfca450c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
6.1/start-qemu generated
View File

@ -13,7 +13,7 @@ set -e
# QEMU_NO_SSH=1 (suppress automatic port 22 forwarding) # QEMU_NO_SSH=1 (suppress automatic port 22 forwarding)
# QEMU_NO_SERIAL=1 (suppress automatic "-serial stdio") # QEMU_NO_SERIAL=1 (suppress automatic "-serial stdio")
# QEMU_NO_VNC=1 (suppress automatic "-vnc ':0'") # QEMU_NO_VNC=1 (suppress automatic "-vnc ':0'")
# QENU_MACHINE (For example if arch=arm, "smdkc210" - Samsung SMDKC210 board (Exynos4210)) # QENU_MACHINE (for non-native)
hostArch="$(uname -m)" hostArch="$(uname -m)"
qemuArch="${QEMU_ARCH:-$hostArch}" qemuArch="${QEMU_ARCH:-$hostArch}"
@ -106,7 +106,7 @@ fi
if [ -z "${QEMU_MACHINE:-}" ]; then if [ -z "${QEMU_MACHINE:-}" ]; then
qemuArgs+=( qemuArgs+=(
--machine "${QEMU_MACHINE}" -machine "${QEMU_MACHINE}"
) )
fi fi