migration: remove register_savevm()
commit1b6e74824659ef10bd2a2924a98df388b78e175e
authorLaurent Vivier <lvivier@redhat.com>
Wed, 24 May 2017 12:10:48 +0000 (24 14:10 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 5 Jun 2017 22:53:24 +0000 (6 08:53 +1000)
tree586d5444c2e168b2b5dcd54cde22242b8519db0c
parent199e19ee538eb61fd08b1c1ee5aa838ebdcc968e
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>
hw/net/vmxnet3.c
hw/s390x/s390-skeys.c
hw/s390x/s390-virtio-ccw.c
include/migration/vmstate.h
migration/savevm.c
slirp/slirp.c