aboutsummaryrefslogtreecommitdiff
path: root/vmstate.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-06-26 19:26:41 +0200
committerJuan Quintela <quintela@redhat.com>2012-07-20 08:19:27 +0200
commit9b5bfab05f7c2a56d5908117e8cc62015e6b2c63 (patch)
tree352b26118880668cb949c218a79e7a45a2078521 /vmstate.h
parent226aa6a9b19e5465418fa62c5188acac280f1c13 (diff)
savevm: Refactor cancel operation in its own operation
Intead of abusing stage with value -1. Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'vmstate.h')
-rw-r--r--vmstate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vmstate.h b/vmstate.h
index 0e248344fd..1dd42f516a 100644
--- a/vmstate.h
+++ b/vmstate.h
@@ -33,6 +33,7 @@ typedef struct SaveVMHandlers {
void (*set_params)(const MigrationParams *params, void * opaque);
SaveStateHandler *save_state;
int (*save_live_state)(QEMUFile *f, int stage, void *opaque);
+ void (*cancel)(void *opaque);
LoadStateHandler *load_state;
} SaveVMHandlers;