aboutsummaryrefslogtreecommitdiff
path: root/include/migration/vmstate.h
diff options
context:
space:
mode:
authorLiang Li <liang.z.li@intel.com>2015-11-02 15:37:02 +0800
committerJuan Quintela <quintela@redhat.com>2015-11-04 13:40:13 +0100
commitd1a8548c10bf6d24160ec2aafa4881a3f50a8373 (patch)
tree746a9171078f8e16e5449c43d128a7c3bad95042 /include/migration/vmstate.h
parentea7415fac677c5c1599214ee226ab4a3a438fdd6 (diff)
migration: rename cancel to cleanup in SaveVMHandles
'cleanup' seems more appropriate than 'cancel'. Signed-off-by: Liang Li <liang.z.li@intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com>al3 Reviewed-by: Amit Shah <amit.shah@redhat.com>al3 Signed-off-by: Juan Quintela <quintela@redhat.com>al3
Diffstat (limited to 'include/migration/vmstate.h')
-rw-r--r--include/migration/vmstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 9a65522da1..d173b565f5 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -39,7 +39,7 @@ typedef struct SaveVMHandlers {
void (*set_params)(const MigrationParams *params, void * opaque);
SaveStateHandler *save_state;
- void (*cancel)(void *opaque);
+ void (*cleanup)(void *opaque);
int (*save_live_complete)(QEMUFile *f, void *opaque);
/* This runs both outside and inside the iothread lock. */