diff options
author | Dr. David Alan Gilbert | 2017-02-02 13:59:54 +0100 |
---|---|---|
committer | Juan Quintela | 2017-02-06 13:36:49 +0100 |
commit | bc5c4f21966977c4ff00ae77979b95a2b39142a3 (patch) | |
tree | eeb36b5d488465ce493ed5926bac13f4a9208348 /include/migration/vmstate.h | |
parent | migration: create Migration Incoming State at init time (diff) | |
download | qemu-bc5c4f21966977c4ff00ae77979b95a2b39142a3.tar.gz qemu-bc5c4f21966977c4ff00ae77979b95a2b39142a3.tar.xz qemu-bc5c4f21966977c4ff00ae77979b95a2b39142a3.zip |
vmstate_register_with_alias_id: Take an Error **
I'll be adding an error to it in a subsequent patch.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20170202125956.21942-2-dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/migration/vmstate.h')
-rw-r--r-- | include/migration/vmstate.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 3bbe3ed984..c38b00a6f1 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -988,14 +988,15 @@ bool vmstate_save_needed(const VMStateDescription *vmsd, void *opaque); int vmstate_register_with_alias_id(DeviceState *dev, int instance_id, const VMStateDescription *vmsd, void *base, int alias_id, - int required_for_version); + int required_for_version, + Error **errp); static inline int vmstate_register(DeviceState *dev, int instance_id, const VMStateDescription *vmsd, void *opaque) { return vmstate_register_with_alias_id(dev, instance_id, vmsd, - opaque, -1, 0); + opaque, -1, 0, NULL); } void vmstate_unregister(DeviceState *dev, const VMStateDescription *vmsd, |