From 9b5bfab05f7c2a56d5908117e8cc62015e6b2c63 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 26 Jun 2012 19:26:41 +0200 Subject: savevm: Refactor cancel operation in its own operation Intead of abusing stage with value -1. Signed-off-by: Juan Quintela --- vmstate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vmstate.h') 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; -- cgit v1.2.3