From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sczcp-0007j1-GY for qemu-devel@nongnu.org; Fri, 08 Jun 2012 09:53:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sczcj-0006YK-BG for qemu-devel@nongnu.org; Fri, 08 Jun 2012 09:53:15 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:59795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sczcj-0006YB-5V for qemu-devel@nongnu.org; Fri, 08 Jun 2012 09:53:09 -0400 From: Paul Brook Date: Fri, 8 Jun 2012 14:53:03 +0100 References: <201206081013.09756.paul@codesourcery.com> <4FD2010C.8000006@us.ibm.com> In-Reply-To: <4FD2010C.8000006@us.ibm.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201206081453.04067.paul@codesourcery.com> Subject: Re: [Qemu-devel] [RFC] QOMification of AXI stream List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Michal Simek , "qemu-devel@nongnu.org Developers" , Peter Crosthwaite , "Edgar E. Iglesias" , Andreas =?iso-8859-1?q?F=E4rber?= , John Williams > >> So what im proposing is AXI stream is implemented as a unidirectional > >> point to point bus. The xilinx ethernet system would consist of two of > >> these buses one for tx, one for rx. > > > > I thought the idea was that with QOM the bus/device model would go away. > > The DMA controller implements an AXIDMA interface, and the device has a > > AXIDMA link that's connected to that interface. > > > > Of course we then hit the usual problem with QOM that we can only link to > > objects, and it's impossible to expose multiple interfaces of the same > > type. > > No, QOM supports multiple inheritance of interfaces so you absolutely can > inherit from multiple different interfaces. But you can't have multiple instances of the same interface. And the interfaces must be stateless. Hence you need the proxy object. Paul