From caa848fa49aee9cd6962c171ae2e2cad5cb47b0b Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 25 Jan 2023 13:29:21 +0100 Subject: 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 Thanks: Johannes Schauer Marin Rodrigues --- bin/debvm-run | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3