summaryrefslogtreecommitdiffstats
path: root/hw/s390x/s390-stattrib.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2019-08-22 13:54:33 +0200
committerDr. David Alan Gilbert2019-09-12 12:15:03 +0200
commitce62df5378bd66963b3e096b86b31f342f001cfe (patch)
tree651c7457f213ee9215b601e2347bfe7dcef0725c /hw/s390x/s390-stattrib.c
parenthw/net/vmxnet3: Fix leftover unregister_savevm (diff)
downloadqemu-ce62df5378bd66963b3e096b86b31f342f001cfe.tar.gz
qemu-ce62df5378bd66963b3e096b86b31f342f001cfe.tar.xz
qemu-ce62df5378bd66963b3e096b86b31f342f001cfe.zip
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/s390-stattrib.c')
-rw-r--r--hw/s390x/s390-stattrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/s390-stattrib.c b/hw/s390x/s390-stattrib.c
index eda5ca3bb6..bf5ac014c4 100644
--- a/hw/s390x/s390-stattrib.c
+++ b/hw/s390x/s390-stattrib.c
@@ -381,7 +381,7 @@ static void s390_stattrib_instance_init(Object *obj)
{
S390StAttribState *sas = S390_STATTRIB(obj);
- register_savevm_live(NULL, TYPE_S390_STATTRIB, 0, 0,
+ register_savevm_live(TYPE_S390_STATTRIB, 0, 0,
&savevm_s390_stattrib_handlers, sas);
object_property_add_bool(obj, "migration-enabled",