Update start-qemu

This commit is contained in:
Namhyeon Go 2021-11-22 17:55:55 +09:00 committed by GitHub
parent f6de6acaae
commit d1d030c951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
6.1/start-qemu generated
View File

@ -14,6 +14,7 @@ set -e
# QEMU_NO_SERIAL=1 (suppress automatic "-serial stdio")
# QEMU_NO_VNC=1 (suppress automatic "-vnc ':0'")
# QEMU_MACHINE (for non-native)
# QEMU_CPUMODEL (for non-native)
# QEMU_BIOS (filename)
# QEMU_KERNEL (filename)
# QEMU_INITRD (filename)
@ -113,6 +114,12 @@ if [ -n "${QEMU_MACHINE:-}" ]; then
)
fi
if [ -n "${QEMU_CPUMODEL:-}" ]; then
qemuArgs+=(
-cpu "${QEMU_CPUMODEL}"
)
fi
if [ -n "${QEMU_BIOS}" ]; then
qemuArgs+=(
-bios "${QEMU_BIOS}"