Hi, I had this WIP patch laying around that seems to fit Juan's vision about testing older machine types. It is a very rough draft for now, but it may be useful for kickstarting the discussion.
With this we can give the tests two different QEMU versions. The test picks the older machine type between the two and runs the whole migration-test suite. We'd just need a way to provide the older build. Currently I'm doing this by hand. sample output: # Using two different QEMU binaries. Common machine type: pc-i440fx-8.1 ... # Using ./qemu-system-x86_64 (v8.1.0-952-g8a940312a2-dirty) as migration source ... # Using ../build-8.1.0/qemu-system-x86_64 (v8.1.0-dirty) as migration destination Let me know what you think. Fabiano Rosas (1): qtest/migration: Support more than one QEMU binary tests/qtest/migration-helpers.c | 168 ++++++++++++++++++++++++++++++++ tests/qtest/migration-helpers.h | 3 + tests/qtest/migration-test.c | 52 ++++++++-- 3 files changed, 216 insertions(+), 7 deletions(-) -- 2.35.3