summaryrefslogtreecommitdiff
path: root/Meta/run.sh
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-08-28 13:07:48 -0400
committerLinus Groh <mail@linusgroh.de>2021-08-28 21:51:30 +0100
commit00c5e68b11df5c9af63ccdec697dc06f2ce20194 (patch)
treea502e87e5fcfc24c1afd09cf9e4a133659b46e52 /Meta/run.sh
parent23bc752c5da7676d31223c6ca9fc0d1874089f96 (diff)
downloadserenity-00c5e68b11df5c9af63ccdec697dc06f2ce20194.zip
Meta: Disable kvm for aarch64 in run.sh
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-xMeta/run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index 95f935de89..984b0cc3df 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -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"