From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se4W7-0005kt-Ov for qemu-devel@nongnu.org; Mon, 11 Jun 2012 09:19:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se4Vb-0000Qo-KV for qemu-devel@nongnu.org; Mon, 11 Jun 2012 09:18:47 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:58372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se4Vb-0000On-Ed for qemu-devel@nongnu.org; Mon, 11 Jun 2012 09:18:15 -0400 Received: from /spool/local by e1.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 11 Jun 2012 09:18:01 -0400 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id D2A916E8073 for ; Mon, 11 Jun 2012 09:17:22 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5BDHLIn17498148 for ; Mon, 11 Jun 2012 09:17:21 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5BImCkK002079 for ; Mon, 11 Jun 2012 14:48:13 -0400 Message-ID: <4FD5EFDC.8050709@us.ibm.com> Date: Mon, 11 Jun 2012 08:17:16 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <7ceb9277-7b55-4105-be93-ec8acb7cf1fe@zmail13.collab.prod.int.phx2.redhat.com> In-Reply-To: <7ceb9277-7b55-4105-be93-ec8acb7cf1fe@zmail13.collab.prod.int.phx2.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] QOMification of AXI stream List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Michal Simek , "qemu-devel@nongnu.org Developers" , Peter Crosthwaite , Paul Brook , "Edgar E. Iglesias" , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , John Williams 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 >