summaryrefslogtreecommitdiff
path: root/migration/postcopy-ram.h
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2018-02-08 18:31:07 +0800
committerDr. David Alan Gilbert <dgilbert@redhat.com>2018-02-14 10:36:02 +0000
commit9ab7ef9b66661819086db9d2ca04e22408e5ca16 (patch)
tree08c3161bd76b0c17af8f83cf28c906406cd62350 /migration/postcopy-ram.h
parent64f615fe34b4d9e2487fbe61ecb7b4041fc6beb9 (diff)
downloadqemu-9ab7ef9b66661819086db9d2ca04e22408e5ca16.tar.gz
migration: provide postcopy_fault_thread_notify()
A general helper to notify the fault thread. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180208103132.28452-4-peterx@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/postcopy-ram.h')
-rw-r--r--migration/postcopy-ram.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/postcopy-ram.h b/migration/postcopy-ram.h
index 77ea0fd264..14f6cadcbd 100644
--- a/migration/postcopy-ram.h
+++ b/migration/postcopy-ram.h
@@ -114,4 +114,6 @@ PostcopyState postcopy_state_get(void);
/* Set the state and return the old state */
PostcopyState postcopy_state_set(PostcopyState new_state);
+void postcopy_fault_thread_notify(MigrationIncomingState *mis);
+
#endif