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>
This commit is contained in:
parent
b95d6588f2
commit
de22ded044
@ -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);
|
||||
|
@ -303,7 +303,7 @@ typedef struct SaveStateEntry {
|
||||
int section_id;
|
||||
/* section id read from the stream */
|
||||
int load_section_id;
|
||||
SaveVMHandlers *ops;
|
||||
const SaveVMHandlers *ops;
|
||||
const VMStateDescription *vmsd;
|
||||
void *opaque;
|
||||
CompatEntry *compat;
|
||||
@ -614,7 +614,7 @@ int register_savevm_live(DeviceState *dev,
|
||||
const char *idstr,
|
||||
int instance_id,
|
||||
int version_id,
|
||||
SaveVMHandlers *ops,
|
||||
const SaveVMHandlers *ops,
|
||||
void *opaque)
|
||||
{
|
||||
SaveStateEntry *se;
|
||||
|
Loading…
Reference in New Issue
Block a user