qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 4/4] vl: add -late-object to create QOM objects


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 4/4] vl: add -late-object to create QOM objects after machine init
Date: Wed, 19 Sep 2012 09:27:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0

Il 19/09/2012 01:07, Anthony Liguori ha scritto:
>>>> In order to create qdev objects via -late-object, we almost always have to
>>>> >>> specify the parent_bus which is usually created during machine init.  
>>>> >>> Until we
>>>> >>> properly support two stage init, introduce a -late-object option that 
>>>> >>> allows for
>>>> >>> creation of objects post-machine init.
>>> >> 
>>> >> This is only needed for -device, no?  So we can avoid introducing it and
>>> >> just use -device.
>> >
>> > +1, was thinking along the same lines...
> Sorry for such a delayed response...
> 
> The semantics of how -device is different in that it implies realize.

Yes, all I'm saying is, I don't see a need for -late-object since it is
only needed for devices and we have a separate method to create them.

Paolo



reply via email to

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