aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2017-05-24 14:10:48 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2017-06-06 08:53:24 +1000
commit1b6e74824659ef10bd2a2924a98df388b78e175e (patch)
tree586d5444c2e168b2b5dcd54cde22242b8519db0c /include
parent199e19ee538eb61fd08b1c1ee5aa838ebdcc968e (diff)
downloadqemu-1b6e74824659ef10bd2a2924a98df388b78e175e.zip
qemu-1b6e74824659ef10bd2a2924a98df388b78e175e.tar.gz
qemu-1b6e74824659ef10bd2a2924a98df388b78e175e.tar.bz2
migration: remove register_savevm()
We can replace the four remaining calls of register_savevm() by calls to register_savevm_live(). So we can remove the function and as we don't allocate anymore the ops pointer with g_new0() we don't have to free it then. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/migration/vmstate.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 6689562..8a3e9e6 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -59,14 +59,6 @@ typedef struct SaveVMHandlers {
LoadStateHandler *load_state;
} SaveVMHandlers;
-int register_savevm(DeviceState *dev,
- const char *idstr,
- int instance_id,
- int version_id,
- SaveStateHandler *save_state,
- LoadStateHandler *load_state,
- void *opaque);
-
int register_savevm_live(DeviceState *dev,
const char *idstr,
int instance_id,