]> Git Repo - qemu.git/blobdiff - migration/postcopy-ram.c
blockjob: Wake up BDS when job becomes idle
[qemu.git] / migration / postcopy-ram.c
index c2e387ed44b48fc310895e39924c22e0aa21411d..853d8b32ca115b91b2778ac2fb601dcda84f6a73 100644 (file)
@@ -867,6 +867,7 @@ static void *postcopy_ram_fault_thread(void *opaque)
     RAMBlock *rb = NULL;
 
     trace_postcopy_ram_fault_thread_entry();
+    rcu_register_thread();
     mis->last_rb = NULL; /* last RAMBlock we sent part of */
     qemu_sem_post(&mis->fault_thread_sem);
 
@@ -1073,6 +1074,7 @@ retry:
             }
         }
     }
+    rcu_unregister_thread();
     trace_postcopy_ram_fault_thread_exit();
     g_free(pfd);
     return NULL;
This page took 0.02389 seconds and 4 git commands to generate.