summaryrefslogtreecommitdiff
path: root/bin/debvm-run
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-01-25 13:29:21 +0100
committerHelmut Grohne <helmut@subdivi.de>2023-01-25 13:29:21 +0100
commitcaa848fa49aee9cd6962c171ae2e2cad5cb47b0b (patch)
tree3d3b888cfc8e7cecbec5e7a918715d4c75bc056f /bin/debvm-run
parentcd2e4ed389df6d6dabaa530ee5280be8beabe293 (diff)
downloaddebvm-caa848fa49aee9cd6962c171ae2e2cad5cb47b0b.tar.gz
debvm-run: always pass gic-version=max for arm64
We already pass it in the kvm case where it should become host and all should be fine. However in the non-kvm case, the default gic can only support 8 cores. If we want to go beyond that, we need a higher gic-version. We couldn't measure a performance difference between max and unset, so we'll just always pass max. Thanks: Arnd Bergmann <arnd@arndb.de> Thanks: Johannes Schauer Marin Rodrigues <josch@debian.org>
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-xbin/debvm-run5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/debvm-run b/bin/debvm-run
index 0d2ee95..d690773 100755
--- a/bin/debvm-run
+++ b/bin/debvm-run
@@ -261,7 +261,7 @@ case "$KERNELARCH" in
arm64)
QEMU=qemu-system-aarch64
CPU=max
- MACHINE="type=virt"
+ MACHINE="type=virt,gic-version=max"
;;
m68k)
MACHINE="type=virt"
@@ -315,9 +315,6 @@ if test "$ENABLE_KVM" = yes; then
if test -w /dev/kvm; then
CPU=host
fi
- if test "$KERNELARCH" = arm64; then
- MACHINE="$MACHINE,gic-version=max"
- fi
fi
if test -n "$MACHINE"; then