mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
Move loadvm_handlers into MigrationIncomingState
In postcopy we need the loadvm_handlers to be used in a couple of different instances of the loadvm loop/routine, and thus it can't be local any more. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
7c1e52ba6f
commit
1a8f46f8d6
5 changed files with 26 additions and 12 deletions
|
@ -808,6 +808,8 @@ extern const VMStateInfo vmstate_info_bitmap;
|
|||
|
||||
#define SELF_ANNOUNCE_ROUNDS 5
|
||||
|
||||
void loadvm_free_handlers(MigrationIncomingState *mis);
|
||||
|
||||
int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd,
|
||||
void *opaque, int version_id);
|
||||
void vmstate_save_state(QEMUFile *f, const VMStateDescription *vmsd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue