qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] hw/exynos4210_gic.c: Introduce n_in and n_o


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1/2] hw/exynos4210_gic.c: Introduce n_in and n_out propeties.
Date: Thu, 12 Apr 2012 08:16:34 +0100

On 12 April 2012 04:23, Evgeny Voevodin <address@hidden> 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

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