From a21b4c44749e35477088f075bb15b2f72300ef12 Mon Sep 17 00:00:00 2001 From: hholoubk Date: Tue, 23 Dec 2025 11:28:07 +0100 Subject: [PATCH] virsh_migrate_option_mix: Add missing vms parameter to check_result() Fix TypeError by adding the required vms parameter to the check_result() method call. The upstream avocado-vt migration.MigrationTest.check_result() method signature was updated in commit 20eb8247e (Dec 16, 2025) to include the vms parameter for retrieving QEMU logs on migration failure. The vms list is already initialized (line 151) and populated with the VM instance (line 295), so this change simply passes it to check_result(). AI assisted code and commit. Human reviewed. Signed-off-by: hholoubk --- libvirt/tests/src/virsh_cmd/domain/virsh_migrate_option_mix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt/tests/src/virsh_cmd/domain/virsh_migrate_option_mix.py b/libvirt/tests/src/virsh_cmd/domain/virsh_migrate_option_mix.py index 2faab30e70f..d16d319c6b8 100644 --- a/libvirt/tests/src/virsh_cmd/domain/virsh_migrate_option_mix.py +++ b/libvirt/tests/src/virsh_cmd/domain/virsh_migrate_option_mix.py @@ -310,7 +310,7 @@ def cleanup_vm(vm, vm_name='', uri=''): extra_opts=extra_options, shell=True) # Check migration result - obj_migration.check_result(obj_migration.ret, params) + obj_migration.check_result(obj_migration.ret, params, vms) # Check "postcopy-active" event after postcopy migration logging.debug("Check postcopy-active event after postcopy migration")