diff options
author | Dr. David Alan Gilbert | 2019-08-22 13:54:33 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2019-09-12 12:15:03 +0200 |
commit | ce62df5378bd66963b3e096b86b31f342f001cfe (patch) | |
tree | 651c7457f213ee9215b601e2347bfe7dcef0725c /hw/s390x/s390-skeys.c | |
parent | hw/net/vmxnet3: Fix leftover unregister_savevm (diff) | |
download | qemu-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-skeys.c')
-rw-r--r-- | hw/s390x/s390-skeys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/s390-skeys.c b/hw/s390x/s390-skeys.c index d4807f7777..bd37f39120 100644 --- a/hw/s390x/s390-skeys.c +++ b/hw/s390x/s390-skeys.c @@ -389,7 +389,7 @@ static inline void s390_skeys_set_migration_enabled(Object *obj, bool value, ss->migration_enabled = value; if (ss->migration_enabled) { - register_savevm_live(NULL, TYPE_S390_SKEYS, 0, 1, + register_savevm_live(TYPE_S390_SKEYS, 0, 1, &savevm_s390_storage_keys, ss); } else { unregister_savevm(DEVICE(ss), TYPE_S390_SKEYS, ss); |