On 12 April 2012 04:23, Evgeny Voevodin <e.voevo...@samsung.com> wrote:
> On 11.04.2012 19:17, Peter Maydell wrote:
>>
>> The right way to check for validity of properties in the init
>> function is to use hw_error() with a reasonably friendly message.
>>
>
> Ok! What's about irq handlers? Is assert() possible?

Yes, assert() is ok elsewhere -- it's just that qdev properties
are a specifically "user" facing interface and we should be
consistent about how different devices enforce validity.

-- PMM

Reply via email to