On Thu, Jun 11, 2026 at 01:13:24AM +0400, marcandre.lureau@redhat.com wrote:
On Wed, 10 Jun 2026 13:34:11 +0100, Daniel P. Berrangé <berrange@redhat.com> wrote:
diff --git a/include/qom/object.h b/include/qom/object.h index 11f55613fcd..c828ac63652 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -1759,6 +1759,16 @@ ObjectProperty *object_property_try_add_child(Object *obj, const char *name, ObjectProperty *object_property_add_child(Object *obj, const char *name, Object *child);
+/** + * object_property_get_child_name: + * @obj: the object that owns the property + * @child: the object referenced by the child property + * + * Return the property name against which @child is registered + * with @obj, or NULL if non is present
"non" -> "none"
I've decided it'll read better saying ", or NULL if @obj is not a parent of @child." With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|