On Mon, Sep 21, 2026 at 12:35:07PM +0100, Mark Cave-Ayland wrote:
> Introduce an intermediary boolean prop_already_exists into 
> object_class_property_add()
> so that it is obvious to a developer if they inadvertantly introduce a 
> duplicate
> class property:
> 
> qemu-system-x86_64: ../qom/object.c:1417: object_class_property_add:
>   Assertion `!prop_already_exists' failed.
> 
> Signed-off-by: Mark Cave-Ayland <[email protected]>
> ---
>  qom/object.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


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 :|


Reply via email to