On Fri, 08 May 2026 12:24:26 +0100, Daniel P. Berrangé <[email protected]> wrote: > diff --git a/include/qom/object.h b/include/qom/object.h > index 1b2b2702fc9..cd59f1f1718 100644 > --- a/include/qom/object.h > +++ b/include/qom/object.h > @@ -700,6 +700,25 @@ Object *object_new_with_propv(const char *typename, > [ ... skip 13 lines ... ] > + * properties in a QDict. > + */ > +Object *object_new_with_props_from_qdict(const char *typename, > + Object *parent, > + const char *id, > + QDict *props,
This should take a const QDict, same for the _parentless added later. -- Marc-André Lureau <[email protected]>
