diff options
author | Marc-André Lureau | 2019-08-28 14:02:32 +0200 |
---|---|---|
committer | Marc-André Lureau | 2020-01-06 15:41:32 +0100 |
commit | 3cad405babb461e3c70782c51415f0b64bc7540d (patch) | |
tree | 97b2207f7ce1aec97358abae4cd14984d18d5dab /include/migration/register.h | |
parent | vmstate: add qom interface to get id (diff) | |
download | qemu-3cad405babb461e3c70782c51415f0b64bc7540d.tar.gz qemu-3cad405babb461e3c70782c51415f0b64bc7540d.tar.xz qemu-3cad405babb461e3c70782c51415f0b64bc7540d.zip |
vmstate: replace DeviceState with VMStateIf
Replace DeviceState dependency with VMStateIf on vmstate API.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Diffstat (limited to 'include/migration/register.h')
-rw-r--r-- | include/migration/register.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/register.h b/include/migration/register.h index 73149c9a01..00c38ebe9f 100644 --- a/include/migration/register.h +++ b/include/migration/register.h @@ -76,6 +76,6 @@ int register_savevm_live(const char *idstr, const SaveVMHandlers *ops, void *opaque); -void unregister_savevm(DeviceState *dev, const char *idstr, void *opaque); +void unregister_savevm(VMStateIf *obj, const char *idstr, void *opaque); #endif |