qemu-arm
[Top][All Lists]
Advanced

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

Re: [Qemu-arm] [Qemu-devel] RFC: raspberry pi / pi2 / Windows-on-ARM sup


From: Peter Maydell
Subject: Re: [Qemu-arm] [Qemu-devel] RFC: raspberry pi / pi2 / Windows-on-ARM support
Date: Wed, 25 Nov 2015 09:11:13 +0000

On 25 November 2015 at 06:04, Peter Crosthwaite
<address@hidden> wrote:
> On Tue, Nov 24, 2015 at 4:00 PM, Andrew Baumann
> <address@hidden> wrote:
>>In general, what's the guidance on what belongs in object init vs. the 
>>realize method?
>
> If it doesn't depend on property values, it goes in init. If it does
> realize. Top level connectivity (e.g. connecting to UARTs are initing
> drives) generally are realize.

Also, realize has a mechanism for reporting errors (the Error** argument)
and instance init does not, so anything that might fail must go in
realize.

thanks
-- PMM



reply via email to

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