summaryrefslogtreecommitdiffstats
path: root/include
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
parentea7415fac677c5c1599214ee226ab4a3a438fdd6 (diff)
downloadhqemu-d1a8548c10bf6d24160ec2aafa4881a3f50a8373.zip
hqemu-d1a8548c10bf6d24160ec2aafa4881a3f50a8373.tar.gz
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')
-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 9a65522..d173b56 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. */
OpenPOWER on IntegriCloud