summaryrefslogtreecommitdiffstats
path: root/include/migration/register.h
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 /include/migration/register.h
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 'include/migration/register.h')
-rw-r--r--include/migration/register.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/migration/register.h b/include/migration/register.h
index 3d0b9833c6..a13359a08d 100644
--- a/include/migration/register.h
+++ b/include/migration/register.h
@@ -68,8 +68,7 @@ typedef struct SaveVMHandlers {
int (*resume_prepare)(MigrationState *s, void *opaque);
} SaveVMHandlers;
-int register_savevm_live(DeviceState *dev,
- const char *idstr,
+int register_savevm_live(const char *idstr,
int instance_id,
int version_id,
const SaveVMHandlers *ops,