Re: [Qemu-devel] [PATCH 2/3] qom: reimplement Interfaces

2012-06-22 Thread Peter Crosthwaite
Hi Anthony, With the latest qom-next merge, this fails to rebase with non-trivial conflicts. Do you have a rebased version of this floating around in one of your trees somewhere? We are trying to get our machine models as QOMified as we can, especially the axi-stream stuff. I will also be able to

Re: [Qemu-devel] [PATCH 2/3] qom: reimplement Interfaces

2012-06-16 Thread Peter Crosthwaite
On Wed, 2012-06-13 at 15:55 -0500, Anthony Liguori wrote: > The current implementation of Interfaces is poorly designed. Each interface > that an object implements end up being an object that's tracked by the "ends" > implementing object. There's all sorts of gymnastics to deal with casting > b

[Qemu-devel] [PATCH 2/3] qom: reimplement Interfaces

2012-06-13 Thread Anthony Liguori
The current implementation of Interfaces is poorly designed. Each interface that an object implements end up being an object that's tracked by the implementing object. There's all sorts of gymnastics to deal with casting between these objects. By an interface shouldn't be associated with an Obje