summaryrefslogtreecommitdiff
path: root/vmstate.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-06-26 18:53:29 +0200
committerJuan Quintela <quintela@redhat.com>2012-07-20 08:19:27 +0200
commit226aa6a9b19e5465418fa62c5188acac280f1c13 (patch)
treea73b8583ff97ebda70ceefe34bd6dfb8c739b024 /vmstate.h
parent8625368515411ce941ac268287ba9e962ad26460 (diff)
savevm: remove SaveLiveStateHandler
It was used only once, just unfold. Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'vmstate.h')
-rw-r--r--vmstate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vmstate.h b/vmstate.h
index 5e1a7cc2bc..0e248344fd 100644
--- a/vmstate.h
+++ b/vmstate.h
@@ -27,13 +27,12 @@
#define QEMU_VMSTATE_H 1
typedef void SaveStateHandler(QEMUFile *f, void *opaque);
-typedef int SaveLiveStateHandler(QEMUFile *f, int stage, void *opaque);
typedef int LoadStateHandler(QEMUFile *f, void *opaque, int version_id);
typedef struct SaveVMHandlers {
void (*set_params)(const MigrationParams *params, void * opaque);
SaveStateHandler *save_state;
- SaveLiveStateHandler *save_live_state;
+ int (*save_live_state)(QEMUFile *f, int stage, void *opaque);
LoadStateHandler *load_state;
} SaveVMHandlers;