Meta: Disable kvm for aarch64 in run.sh

This commit is contained in:
Nico Weber 2021-08-28 13:07:48 -04:00 committed by Linus Groh
parent 23bc752c5d
commit 00c5e68b11
Notes: sideshowbarker 2024-07-18 05:08:18 +09:00

View File

@ -16,8 +16,9 @@ SCRIPT_DIR="$(dirname "${0}")"
#SERENITY_PACKET_LOGGING_ARG="-object filter-dump,id=hue,netdev=breh,file=e1000.pcap"
# FIXME: Enable for SERENITY_ARCH=aarch64 if on an aarch64 host?
KVM_SUPPORT="0"
[ -e /dev/kvm ] && [ -r /dev/kvm ] && [ -w /dev/kvm ] && KVM_SUPPORT="1"
[ -e /dev/kvm ] && [ -r /dev/kvm ] && [ -w /dev/kvm ] && [ "$SERENITY_ARCH" != "aarch64" ] && KVM_SUPPORT="1"
[ -z "$SERENITY_BOCHS_BIN" ] && SERENITY_BOCHS_BIN="bochs"