qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH qom v3 07/14] qdev: gpio: Re-impement qdev_conne


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH qom v3 07/14] qdev: gpio: Re-impement qdev_connect_gpio QOM style
Date: Fri, 26 Sep 2014 15:04:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

Il 26/09/2014 07:20, Peter Crosthwaite ha scritto:
> +    if (pin) {
> +        object_property_add_child(qdev_get_machine(), "non-qdev-gpio[*]",
> +                                  OBJECT(pin), NULL);
> +    }

So here is when you're using the "do not abort if not a child" behavior.
 It deserves at least a comment, because it's not obvious.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]