savevm: remove SaveSetParamsHandler
It was used only once, just unfold. Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
7908c78d3e
commit
8625368515
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user