On 06/11/2012 12:54 AM, Paolo Bonzini wrote:
Ive had a brief look at the refactorings on qom-next, I notice that
busses are now just children of the parent object TYPE_BUS.
Essentially for point-to-point links this means that link itself
has a QOM object. So for finer clarification, for new busses should or
should I not have an object (whether it inherit TYPE_BUS or some
other parent) for the link itself? Or should The master device interface
directly with its slave? Im thinking the latter, no need for an
object for a trivial point-to-point link.

I think AXI counts as a point-to-point link, so no bus.

In my prop-ptr branch you can find some code (untested beyond compilation)
that tried to model AXI using interfaces (git://github.com/pbonzini/qemu.git).

s/pbonzini/bonzini/g, right?

And I don't see a prop-ptr branch.  Did you forget to push?

Regards,

Anthony Liguori

I don't know much about AXI, so I tried to reverse engineer a decent model
from what was done without QOM.

Paolo



Reply via email to