mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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>
This commit is contained in:
parent
fd418e520e
commit
ce62df5378
11 changed files with 11 additions and 34 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue