qemu-kvm) [ "$(arch)" == "aarch64" ] && kvm=("${kvm[@]}" "${aarch64[@]}")
[ "$(arch)" == "x86_64" ] && kvm=("${kvm[@]}" "${x86_64[@]}")
;;
qemu-system-x86_64)
kvm=("${kvm[@]}" "${x86_64[@]}")
;;
qemu-system-riscv64)
kvm=("${kvm[@]}" "${riscv64[@]}")
If individual_option() generate $APPEND var instead of `aarch64` `x86_64` `riscv64`, and so on. May be run_qemu() do not need the case block?
good
Thanks, Yinsi
Thanks Yu Chuan
;;
esac
-- 2.23.0