aboutsummaryrefslogtreecommitdiff
path: root/vmstate.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-06-28 15:31:37 +0200
committerJuan Quintela <quintela@redhat.com>2012-07-20 08:19:27 +0200
commit16310a3cca7320edb9341c976f7819de0a8c27e0 (patch)
tree6caba265f6f9cf0462522f0179adb40724ae7bf9 /vmstate.h
parentd1315aac6e4df1f472a6f87ef6e310b8c109f498 (diff)
savevm: split save_live into stage2 and stage3
We split it into 2 functions, foo_live_iterate, and foo_live_complete. At this point, we only remove the bits that are for the other stage, functionally this is equivalent to previous code. Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'vmstate.h')
-rw-r--r--vmstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vmstate.h b/vmstate.h
index 049f2b7a20..5bd2b762ab 100644
--- a/vmstate.h
+++ b/vmstate.h
@@ -33,7 +33,8 @@ typedef struct SaveVMHandlers {
void (*set_params)(const MigrationParams *params, void * opaque);
SaveStateHandler *save_state;
int (*save_live_setup)(QEMUFile *f, void *opaque);
- int (*save_live_state)(QEMUFile *f, int stage, void *opaque);
+ int (*save_live_iterate)(QEMUFile *f, void *opaque);
+ int (*save_live_complete)(QEMUFile *f, void *opaque);
void (*cancel)(void *opaque);
LoadStateHandler *load_state;
bool (*is_active)(void *opaque);