aboutsummaryrefslogtreecommitdiff
path: root/vmstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'vmstate.h')
-rw-r--r--vmstate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vmstate.h b/vmstate.h
index 5af45e0c12..909af6934d 100644
--- a/vmstate.h
+++ b/vmstate.h
@@ -31,6 +31,13 @@ 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 {
+ SaveSetParamsHandler *set_params;
+ SaveStateHandler *save_state;
+ SaveLiveStateHandler *save_live_state;
+ LoadStateHandler *load_state;
+} SaveVMHandlers;
+
int register_savevm(DeviceState *dev,
const char *idstr,
int instance_id,