aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2015-12-16 11:47:33 +0000
committerAmit Shah <amit.shah@redhat.com>2016-01-13 16:00:39 +0530
commit48781e5bf26a285f43b9c328b668021d28d2e690 (patch)
tree7cf5fb6fade9afb636d6a9d4647a276319fb2639 /include
parent649a1bbaf95adb228f1030ab0618a932bc26aa8b (diff)
migration: Export migrate_set_state()
Change the first parameter of migrate_set_state(), and export it. We will use it in a later patch to update incoming state. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> dgilbert: Updated comment as per Juan's review Message-Id: <1450266458-3178-2-git-send-email-dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/migration/migration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index d9494b895e..a64ca7c399 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -169,6 +169,8 @@ struct MigrationState
RAMBlock *last_req_rb;
};
+void migrate_set_state(int *state, int old_state, int new_state);
+
void process_incoming_migration(QEMUFile *f);
void qemu_start_incoming_migration(const char *uri, Error **errp);