@samitouri / QOSamiQemu / commits / 2a6b6df561

tests/qtest/migration: Use defer in dirty_limit test

Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Peter Xu <peterx@redhat.com> Link: https://lore.kernel.org/r/20260505160915.25558-14-farosas@suse.de Signed-off-by: Peter Xu <peterx@redhat.com>

Fabiano Rosas committed May 5, 2026 at 13:09 UTC 2a6b6df56162be0a123a45492987f7a1b8a9fe7b
1 file changed +2 -1
tests/qtest/migration/precopy-tests.c
+2 -1
@@ -1021,11 +1021,12 @@ static void test_dirty_limit(char *name, MigrateCommon *args)
1021 args->start.use_dirty_ring = true;
1022
1023 /* Restart dst vm, src vm already show up so we needn't wait anymore */
1024 - if (migrate_start(&from, &to, args->listen_uri, &args->start)) {
1024 + if (migrate_start(&from, &to, "defer", &args->start)) {
1025 return;
1026 }
1027
1028 /* Start migrate */
1029 + migrate_incoming_qmp(to, args->listen_uri, NULL, "{}");
1030 migrate_qmp(from, to, args->connect_uri, NULL, "{}");
1031
1032 /* Wait for dirty limit throttle begin */