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