diff options
author | Juan Quintela <quintela@redhat.com> | 2012-06-26 18:51:00 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-07-20 08:19:27 +0200 |
commit | 8625368515411ce941ac268287ba9e962ad26460 (patch) | |
tree | 972a1c4a1df7cc01818854113bd7373b52524829 /vmstate.h | |
parent | 7908c78d3e1a117ae6b9545e601409eee3d33863 (diff) | |
download | qemu-8625368515411ce941ac268287ba9e962ad26460.zip qemu-8625368515411ce941ac268287ba9e962ad26460.tar.gz qemu-8625368515411ce941ac268287ba9e962ad26460.tar.bz2 |
savevm: remove SaveSetParamsHandler
It was used only once, just unfold.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'vmstate.h')
-rw-r--r-- | vmstate.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -26,13 +26,12 @@ #ifndef QEMU_VMSTATE_H #define QEMU_VMSTATE_H 1 -typedef void SaveSetParamsHandler(const MigrationParams *params, void * opaque); 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; + void (*set_params)(const MigrationParams *params, void * opaque); SaveStateHandler *save_state; SaveLiveStateHandler *save_live_state; LoadStateHandler *load_state; |