diff options
| author | Laurent Vivier | 2017-05-24 14:10:48 +0200 |
|---|---|---|
| committer | David Gibson | 2017-06-06 00:53:24 +0200 |
| commit | 1b6e74824659ef10bd2a2924a98df388b78e175e (patch) | |
| tree | 586d5444c2e168b2b5dcd54cde22242b8519db0c /include/migration/vmstate.h | |
| parent | Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into st... (diff) | |
| download | qemu-1b6e74824659ef10bd2a2924a98df388b78e175e.tar.gz qemu-1b6e74824659ef10bd2a2924a98df388b78e175e.tar.xz qemu-1b6e74824659ef10bd2a2924a98df388b78e175e.zip | |
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/migration/vmstate.h')
| -rw-r--r-- | include/migration/vmstate.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 66895623da..8a3e9e6088 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, |
