diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2017-02-02 12:59:54 +0000 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-02-06 13:36:49 +0100 |
commit | bc5c4f21966977c4ff00ae77979b95a2b39142a3 (patch) | |
tree | eeb36b5d488465ce493ed5926bac13f4a9208348 /hw/core/qdev.c | |
parent | b4b076daf324894dd288cbdb67ff1e3c7434df7b (diff) |
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 'hw/core/qdev.c')
-rw-r--r-- | hw/core/qdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/core/qdev.c b/hw/core/qdev.c index 57834423b9..ea97b15f45 100644 --- a/hw/core/qdev.c +++ b/hw/core/qdev.c @@ -935,7 +935,8 @@ static void device_set_realized(Object *obj, bool value, Error **errp) if (qdev_get_vmsd(dev)) { vmstate_register_with_alias_id(dev, -1, qdev_get_vmsd(dev), dev, dev->instance_id_alias, - dev->alias_required_for_version); + dev->alias_required_for_version, + NULL); } QLIST_FOREACH(bus, &dev->child_bus, sibling) { |