aboutsummaryrefslogtreecommitdiff
path: root/qom/qom-qobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'qom/qom-qobject.c')
-rw-r--r--qom/qom-qobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qom/qom-qobject.c b/qom/qom-qobject.c
index 447e4a0560..4aec20d73c 100644
--- a/qom/qom-qobject.c
+++ b/qom/qom-qobject.c
@@ -22,8 +22,8 @@ void object_property_set_qobject(Object *obj, QObject *value,
const char *name, Error **errp)
{
Visitor *v;
- /* TODO: Should we reject, rather than ignore, excess input? */
- v = qobject_input_visitor_new(value, false);
+
+ v = qobject_input_visitor_new(value);
object_property_set(obj, v, name, errp);
visit_free(v);
}