From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoVIA-0007S2-LH for qemu-devel@nongnu.org; Wed, 03 Aug 2011 02:50:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoVI9-0004dH-JU for qemu-devel@nongnu.org; Wed, 03 Aug 2011 02:50:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoVI9-0004d9-Bm for qemu-devel@nongnu.org; Wed, 03 Aug 2011 02:50:57 -0400 Message-ID: <4E38EFCB.6060107@redhat.com> Date: Wed, 03 Aug 2011 09:50:51 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4E381EA7.2070809@redhat.com> <4E383C55.5050703@redhat.com> <4E38647F.3010509@codemonkey.ws> <4E3870A8.308@redhat.com> <4E38B1C8.8020404@codemonkey.ws> In-Reply-To: <4E38B1C8.8020404@codemonkey.ws> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] modelling omap_gpmc with the hierarchical memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , QEMU Developers On 08/03/2011 05:26 AM, Anthony Liguori wrote: > On 08/02/2011 04:48 PM, Avi Kivity wrote: >> On 08/03/2011 12:28 AM, Peter Maydell wrote: >>> On 2 August 2011 21:56, Anthony Liguori wrote: >>> > Hrm, this looks like badness to me. >>> > >>> > You're effectively using MemoryRegions to implement an ad-hoc >>> interface. >>> >>> As you'll see below, the hardware intreface is somewhat ad-hoc :-) >>> >> >> IMO it fits perfectly into a qdev which contains 8 qbuses, each of which >> is connected to another qdev. > > Do you mean a qdev that is a bus and accepts up to 8 devices as children? I guess that works too. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.