aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/tod.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2019-08-22 12:54:33 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2019-09-12 11:15:03 +0100
commitce62df5378bd66963b3e096b86b31f342f001cfe (patch)
tree651c7457f213ee9215b601e2347bfe7dcef0725c /hw/s390x/tod.c
parentfd418e520eca16e3b148633ed23ec20b14db9b0c (diff)
downloadqemu-ce62df5378bd66963b3e096b86b31f342f001cfe.zip
qemu-ce62df5378bd66963b3e096b86b31f342f001cfe.tar.gz
qemu-ce62df5378bd66963b3e096b86b31f342f001cfe.tar.bz2
migration: register_savevm_live doesn't need dev
Commit 78dd48df3 removed the last caller of register_savevm_live for an instantiable device (rather than a single system wide device); so trim out the parameter. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20190822115433.12070-1-dgilbert@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/s390x/tod.c')
-rw-r--r--hw/s390x/tod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/tod.c b/hw/s390x/tod.c
index 1bf0875..2499d6f 100644
--- a/hw/s390x/tod.c
+++ b/hw/s390x/tod.c
@@ -101,7 +101,7 @@ static void s390_tod_realize(DeviceState *dev, Error **errp)
S390TODState *td = S390_TOD(dev);
/* Legacy migration interface */
- register_savevm_live(NULL, "todclock", 0, 1, &savevm_tod, td);
+ register_savevm_live("todclock", 0, 1, &savevm_tod, td);
}
static void s390_tod_class_init(ObjectClass *oc, void *data)