summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMeta/run.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index ebd4677402..8d320e1747 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -38,8 +38,10 @@ if [ "$(uname)" = "Darwin" ]; then
[ -z "$SERENITY_QEMU_BIN" ] && SERENITY_QEMU_BIN="qemu-system-aarch64"
fi
- if $SERENITY_QEMU_BIN --accel help | grep -q hvf; then
- SERENITY_VIRT_TECH_ARG="--accel hvf"
+ if [ "$(uname -m)" = "x86_64" ]; then
+ if $SERENITY_QEMU_BIN --accel help | grep -q hvf; then
+ SERENITY_VIRT_TECH_ARG="--accel hvf"
+ fi
fi
fi