From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzHnD-0001DT-Lr for qemu-devel@nongnu.org; Thu, 01 Sep 2011 20:39:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzHn9-0000mE-LP for qemu-devel@nongnu.org; Thu, 01 Sep 2011 20:39:35 -0400 Received: from e23smtp07.au.ibm.com ([202.81.31.140]:33500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzHn8-0000lT-Pr for qemu-devel@nongnu.org; Thu, 01 Sep 2011 20:39:31 -0400 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [202.81.31.246]) by e23smtp07.au.ibm.com (8.14.4/8.13.1) with ESMTP id p820dF8M028066 for ; Fri, 2 Sep 2011 10:39:15 +1000 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p820bk071515678 for ; Fri, 2 Sep 2011 10:37:48 +1000 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p820dDsv006069 for ; Fri, 2 Sep 2011 10:39:14 +1000 Date: Fri, 2 Sep 2011 10:38:01 +1000 From: David Gibson Message-ID: <20110902003801.GP11906@yookeroo.fritz.box> References: <1314853263-2086-1-git-send-email-david@gibson.dropbear.id.au> <1314853263-2086-2-git-send-email-david@gibson.dropbear.id.au> <4E5FAADF.1040704@us.ibm.com> <4E5FACD6.9000603@redhat.com> <4E5FAD5C.4090208@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E5FAD5C.4090208@codemonkey.ws> Subject: Re: [Qemu-devel] [PATCH 01/10] Add stub functions for PCI device models to do PCI DMA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Anthony Liguori , joerg.roedel@amd.com, qemu-devel@nongnu.org, agraf@suse.de, Avi Kivity , eduard.munteanu@linux360.ro, rth@twiddle.net On Thu, Sep 01, 2011 at 11:05:48AM -0500, Anthony Liguori wrote: > On 09/01/2011 11:03 AM, Avi Kivity wrote: > >On 09/01/2011 06:55 PM, Anthony Liguori wrote: > >>On 09/01/2011 12:00 AM, David Gibson wrote: [snip] > The challenge is what you do about something like ne2k where the > core chipset can either be a PCI device or an ISA device. You would > have to implement a wrapper around pci_dma_rw() in order to turn it > into cpu_physical_memory_rw when doing ISA. That would be one of the less-easy cases I'm still thinking about... I don't think it invalidates this patchset, though. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson