
8 Jan
2021
8 Jan
'21
10:21 a.m.
+{ + qemu=( + qemu-system-aarch64 + qemu-kvm + qemu-system-x86_64 + ) + + for qemu in "${qemu[@]}" + do + [ -n "$(command -v ${qemu})" ] && break + done + + # debian has both qemu-system-x86_64 and qemu-system-riscv64 command + [[ $kernel =~ 'riscv64' ]] && qemu=qemu-system-riscv64
If 'qemu-system-riscv64' might be used, would it be better to put it in 'qemu=()' ?
ok Thanks, Yinsi
Thanks, Chenglong