On Fri, 08 May 2026 12:24:29 +0100, Daniel P. Berrangé <[email protected]> wrote: > diff --git a/qom/object_interfaces.c b/qom/object_interfaces.c > index e0a3cd8d0f7..7080f85f95f 100644 > --- a/qom/object_interfaces.c > +++ b/qom/object_interfaces.c > @@ -44,75 +44,11 @@ bool user_creatable_can_be_deleted(UserCreatable *uc) > [ ... skip 25 lines ... ] > - if (!object_class_dynamic_cast(klass, TYPE_USER_CREATABLE)) { > - error_setg(errp, "object type '%s' isn't supported by object-add", > - type); > - return NULL; > - } > -
It's worth to mention in the commit message that -object and object-add go through QAPI ObjectOptions list, and thus don't need the now gone TYPE_USER_CREATABLE check. -- Marc-André Lureau <[email protected]>
