summaryrefslogtreecommitdiffstats
path: root/include/migration
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2015-12-16 11:47:33 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:24 -0600
commit75d5e427c28443f8bbbf80b6184539219e57a4e6 (patch)
treebbd90b372c7432b54e86b7fc9fb0a3306f503392 /include/migration
parentec8d3620b126c7e3ef93d2bca22ae8bbad541814 (diff)
downloadhqemu-75d5e427c28443f8bbbf80b6184539219e57a4e6.zip
hqemu-75d5e427c28443f8bbbf80b6184539219e57a4e6.tar.gz
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/migration')
-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 d9494b8..a64ca7c 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);
OpenPOWER on IntegriCloud