diff options
author | Juan Quintela <quintela@redhat.com> | 2012-06-26 18:46:10 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-07-20 08:19:27 +0200 |
commit | 7908c78d3e1a117ae6b9545e601409eee3d33863 (patch) | |
tree | 6b58bdcf72b13c958459ae6df46427c1a14c66d1 /vmstate.h | |
parent | 22ea40f4ff072a113fdf96bff10bc81ee063da32 (diff) |
savevm: Live migration handlers register the struct directly
Notice that the live migration users never unregister, so no problem
about freeing the ops structure.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'vmstate.h')
-rw-r--r-- | vmstate.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -50,10 +50,7 @@ int register_savevm_live(DeviceState *dev, const char *idstr, int instance_id, int version_id, - SaveSetParamsHandler *set_params, - SaveLiveStateHandler *save_live_state, - SaveStateHandler *save_state, - LoadStateHandler *load_state, + SaveVMHandlers *ops, void *opaque); void unregister_savevm(DeviceState *dev, const char *idstr, void *opaque); |