mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
649a1bbaf9
commit
48781e5bf2
2 changed files with 23 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue