[kvm-unit-tests PATCH v3 5/5] arm64: Use -cpu max as the default for TCG

Jean-Philippe Brucker
2025-03-25T16:07:54Z

In order to test all the latest features, default to "max" as the QEMU
CPU type on arm64. Leave the default 32-bit CPU as cortex-a15, because
that allows running the 32-bit tests with both qemu-system-arm, and with
qemu-system-aarch64 whose default "max" CPU doesn't boot in 32-bit mode.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index b79145a5..b86ccc0c 100755
--- a/configure
+++ b/configure
@@ -33,7 +33,7 @@ function get_default_qemu_cpu()
echo "cortex-a15"
;;
"arm64")
- echo "cortex-a57"
+ echo "max"
;;
esac
}
--
2.49.0