Update start-qemu
This commit is contained in:
parent
fd8e3e9aa3
commit
0ccfca450c
4
6.1/start-qemu
generated
4
6.1/start-qemu
generated
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user