[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 0/5] -object/object-add support custom location an
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC 0/5] -object/object-add support custom location and 2nd stage initialization |
Date: |
Wed, 08 Jan 2014 18:33:11 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
Il 08/01/2014 17:51, Igor Mammedov ha scritto:
>> >
>> > Thanks Igor! I like very much patches 1-4 (though I'm thinking that we
>> > need some style conventions for interfaces). I think patch 5 adds more
>> > complexity than we need, but I'm open to discussion.
> I'm sorry that it took so long.
> The reason for separate interfaces is that realize interface is more generic
> and might be used outside of '-object'. While I don't see 'path' interface
> ever used outside of -object.
Yeah, I think the two interfaces are a good idea. The question is
whether we want the second interface at all. I think it's fine to
delegate namespace conventions to management.
Regarding the "overloading" of the realize name, I was against it in
previous discussion and I still am (I was in favor of something like
UserCreatable and naming the method "complete" or "construct"), but I
didn't want to sound too negative. :)
Paolo
- [Qemu-devel] [PATCH 3/5] virtio_rng: use object_realize interface instead of calling backend API, (continued)
- [Qemu-devel] [PATCH 3/5] virtio_rng: use object_realize interface instead of calling backend API, Igor Mammedov, 2014/01/08
- [Qemu-devel] [PATCH 2/5] add optional 2nd stage initialization to -object/object-add/object_add commands, Igor Mammedov, 2014/01/08
- [Qemu-devel] [PATCH 4/5] vl.c: -object: handle duplicate 'id' properly, Igor Mammedov, 2014/01/08
- [Qemu-devel] [PATCH 5/5] -object/object-add: use custom default object location if provided, Igor Mammedov, 2014/01/08
- Re: [Qemu-devel] [RFC 0/5] -object/object-add support custom location and 2nd stage initialization, Paolo Bonzini, 2014/01/08
- Re: [Qemu-devel] [RFC 0/5] -object/object-add support custom location and 2nd stage initialization, Igor Mammedov, 2014/01/10