From 7908c78d3e1a117ae6b9545e601409eee3d33863 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 26 Jun 2012 18:46:10 +0200 Subject: 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 --- vmstate.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'vmstate.h') diff --git a/vmstate.h b/vmstate.h index 909af6934d..4bce53bc53 100644 --- a/vmstate.h +++ b/vmstate.h @@ -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); -- cgit v1.2.1