summaryrefslogtreecommitdiffstats
path: root/include/migration/register.h
diff options
context:
space:
mode:
authorMarc-André Lureau2018-11-14 14:31:39 +0100
committerDr. David Alan Gilbert2019-01-23 16:51:47 +0100
commitde22ded044db6b78ef8c04b8045c63683751613f (patch)
tree353897b42af57314198d06dd850d059ba1bbce90 /include/migration/register.h
parenttests: add /vmstate/simple/array (diff)
downloadqemu-de22ded044db6b78ef8c04b8045c63683751613f.tar.gz
qemu-de22ded044db6b78ef8c04b8045c63683751613f.tar.xz
qemu-de22ded044db6b78ef8c04b8045c63683751613f.zip
vmstate: constify SaveVMHandlers
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20181114133139.27346-1-marcandre.lureau@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/register.h b/include/migration/register.h
index d287f4c317..3d0b9833c6 100644
--- a/include/migration/register.h
+++ b/include/migration/register.h
@@ -72,7 +72,7 @@ int register_savevm_live(DeviceState *dev,
const char *idstr,
int instance_id,
int version_id,
- SaveVMHandlers *ops,
+ const SaveVMHandlers *ops,
void *opaque);
void unregister_savevm(DeviceState *dev, const char *idstr, void *opaque);