summary refs log tree commit diff stats
path: root/tests/qtest/migration/postcopy-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/migration/postcopy-tests.c')
-rw-r--r--tests/qtest/migration/postcopy-tests.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qtest/migration/postcopy-tests.c b/tests/qtest/migration/postcopy-tests.c
index daf7449f2c..b08cde3270 100644
--- a/tests/qtest/migration/postcopy-tests.c
+++ b/tests/qtest/migration/postcopy-tests.c
@@ -81,6 +81,10 @@ static void test_postcopy_preempt_recovery(void)
 
 void migration_test_add_postcopy(MigrationTestEnv *env)
 {
+    if (!env->full_set) {
+        return;
+    }
+
     if (env->has_uffd) {
         migration_test_add("/migration/postcopy/plain", test_postcopy);
         migration_test_add("/migration/postcopy/recovery/plain",