qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] qom: Introduce object_realize_nofail()


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] qom: Introduce object_realize_nofail()
Date: Thu, 12 Apr 2012 23:11:01 +0100

On 12 April 2012 22:57, Anthony Liguori <address@hidden> wrote:
> On 04/12/2012 04:50 PM, Peter Maydell wrote:
>> My main desire from shifting to QOM is named connections between
>> devices and killing off the strict hierarchy of qbus buses;
>
> We're pretty much there, no?
>
> I think the only thing really left is introducing Pins and qomifying
> MemoryRegions.

Well, until we've introduced Pins we're not there at all :-)
Also a coherent infrastructure for defining and using more complicated
interfaces than 'raise/lower' would be good, Pin is just the degenerate
special case of that. That would let us get rid of the annoying
pointer properties we're using for omap clocks, for instance.

>> I haven't been particularly bitten by device init issues.
>
> You will be...  In order to let a user make those connections you'll need a
> mechanism to set link properties before realize but after instance_init.

Yeah, but qdev has that already, so I wasn't feeling the lack of it
under the old regime.

-- PMM



reply via email to

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