qemu-e2k/tests
Fabiano Rosas 5050ad2a38 tests/qtest/migration: Support more than one QEMU binary
We have strict rules around migration compatibility between different
QEMU versions but no test to validate the migration state between
different binaries.

Add infrastructure to allow running the migration tests with two
different QEMU binaries as migration source and destination.

The code now recognizes two new environment variables
QTEST_QEMU_BINARY_SRC and QTEST_QEMU_BINARY_DST. In the absence of
either of them, the test will use the QTEST_QEMU_BINARY variable. If
both are missing then the tests are run with single binary as
previously.

The machine type is selected automatically as the latest machine type
version that works with both binaries.

Usage (only one of SRC|DST is allowed):

QTEST_QEMU_BINARY_SRC=../build-8.2.0/qemu-system-x86_64 \
QTEST_QEMU_BINARY=../build-8.1.0/qemu-system-x86_64 \
./tests/qtest/migration-test

Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231018192741.25885-11-farosas@suse.de>
2023-10-20 08:51:41 +02:00
..
avocado tests/avocado: avoid invalid escape in Python string 2023-10-17 15:20:53 +02:00
bench
data tests/acpi: update expected data files 2023-10-10 11:11:37 +02:00
decode
docker tests/docker: avoid invalid escape in Python string 2023-10-17 15:20:53 +02:00
fp
guest-debug
image-fuzzer
include
keys
lcitool tests/lcitool: add swtpm to the package list 2023-10-11 08:46:23 +01:00
migration python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
multiboot
perf/block/qcow2
plugin Makefile: build plugins before running TCG tests 2023-10-02 18:04:39 +02:00
qapi-schema
qemu-iotests iotests: use the correct python to run linters 2023-10-17 15:20:46 +02:00
qtest tests/qtest/migration: Support more than one QEMU binary 2023-10-20 08:51:41 +02:00
rocker
tcg configure, tests/tcg: simplify GDB conditionals 2023-10-18 10:01:01 +02:00
tsan
uefi-test-tools
unit meson: do not use set10 2023-10-17 15:20:53 +02:00
vm tests/vm: avoid invalid escape in Python string 2023-10-17 15:20:53 +02:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include Makefile: build plugins before running TCG tests 2023-10-02 18:04:39 +02:00
meson.build Makefile: build plugins before running TCG tests 2023-10-02 18:04:39 +02:00
test-qht-par.c
vhost-user-bridge.c