]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qom/qom-qobject.c
block: Guarantee that *file is set on bdrv_get_block_status()
[mirror_qemu.git] / qom / qom-qobject.c
index 447e4a05606c6f97f3f53c5d9d318a74cf061310..4aec20d73c1a0b334d9fb11c99e5ecdf3877e987 100644 (file)
@@ -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);
 }