Patchwork [04/22] savevm: remove SaveLiveStateHandler

login
register
mail settings
Submitter Juan Quintela
Date July 13, 2012, 7:23 a.m.
Message ID <1342164224-32709-5-git-send-email-quintela@redhat.com>
Download mbox | patch
Permalink /patch/170802/
State New
Headers show

Comments

Juan Quintela - July 13, 2012, 7:23 a.m.
It was used only once, just unfold.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 vmstate.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/vmstate.h b/vmstate.h
index 5e1a7cc..0e24834 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;