On 17/03/2015 20:08, Daniel P. Berrange wrote:
> A third option is to not process -object args in one go, instead process
> each type of object at a time. eg we'd first create all the
> -object tls-credential instances, then create the -chardev instances,
> then create the -object rng-egd instances. This is probably the least
> amount of work in short term, but not all that scalable, unless we do
> a catch-all default case, so we only need code up hacks for a few
> particular object types.
> 
> Thus my gut feeling is to do option 3, but I'd like other opinions before
> embarking on this....

Yes, for now it is the best.

Another idea is to build objects lazily.  This requires adding a
"missing property" interface and making /objects implement it.  We can
think about it later.

Paolo

Reply via email to