From d1a8548c10bf6d24160ec2aafa4881a3f50a8373 Mon Sep 17 00:00:00 2001 From: Liang Li Date: Mon, 2 Nov 2015 15:37:02 +0800 Subject: migration: rename cancel to cleanup in SaveVMHandles 'cleanup' seems more appropriate than 'cancel'. Signed-off-by: Liang Li Reviewed-by: Juan Quintela al3 Reviewed-by: Amit Shah al3 Signed-off-by: Juan Quintela al3 --- migration/savevm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'migration/savevm.c') diff --git a/migration/savevm.c b/migration/savevm.c index ae8fdda875..e05158d7ba 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -908,8 +908,8 @@ void qemu_savevm_state_cleanup(void) trace_savevm_state_cleanup(); QTAILQ_FOREACH(se, &savevm_state.handlers, entry) { - if (se->ops && se->ops->cancel) { - se->ops->cancel(se->opaque); + if (se->ops && se->ops->cleanup) { + se->ops->cleanup(se->opaque); } } } -- cgit 1.4.1