]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/migration-test: Stick with gicv3 in aarch64 test
authorPeter Xu <peterx@redhat.com>
Wed, 7 Feb 2024 00:54:01 +0000 (08:54 +0800)
committerPeter Xu <peterx@redhat.com>
Wed, 7 Feb 2024 02:51:27 +0000 (10:51 +0800)
commitbdb0ade663c73270ceaec719c62f59bf049afbbe
tree262409b8230622019f9b7f7c0179bc26e6cd59ba
parent93fa9dc2e0522c54b813dee0898a5feb98b624c9
tests/migration-test: Stick with gicv3 in aarch64 test

Recently we introduced cross-binary migration test.  It's always wanted
that migration-test uses stable guest ABI for both QEMU binaries in this
case, so that both QEMU binaries will be compatible on the migration
stream with the cmdline specified.

Switch to a static gic version "3" rather than using version "max", so that
GIC should be stable now across any future QEMU binaries for migration-test.

Here the version can actually be anything as long as the ABI is stable.  We
choose "3" because it's the majority of what we already use in QEMU while
still new enough: "git grep gic-version=3" shows 6 hit, while version 4 has
no direct user yet besides "max".

Note that even with this change, aarch64 won't be able to work yet with
migration cross binary test, but then the only missing piece will be the
stable CPU model.

Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com>
Link: https://lore.kernel.org/r/20240207005403.242235-2-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
tests/qtest/migration-test.c