Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfJNW-0000jT-FY for qemu-devel@nongnu.org; Wed, 10 Feb 2010 15:41:42 -0500 Received: from [199.232.76.173] (port=35752 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfJNV-0000ij-KG for qemu-devel@nongnu.org; Wed, 10 Feb 2010 15:41:41 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfJNT-00041L-Kj for qemu-devel@nongnu.org; Wed, 10 Feb 2010 15:41:41 -0500 Received: from are.twiddle.net ([75.149.56.221]:48178) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfJNS-00040V-Dy for qemu-devel@nongnu.org; Wed, 10 Feb 2010 15:41:39 -0500 Message-ID: <4B7319F6.5050506@twiddle.net> Date: Wed, 10 Feb 2010 12:41:26 -0800 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/15][RFC] New PCI interfaces References: <1265752899-26980-1-git-send-email-aliguori@us.ibm.com> <4B73090E.1020408@codemonkey.ws> In-Reply-To: <4B73090E.1020408@codemonkey.ws> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Blue Swirl , Michael Tsirkin , qemu-devel@nongnu.org, Alex Graf On 02/10/2010 11:29 AM, Anthony Liguori wrote: > void *pci_memory_map(PCIDevice *dev, pcibus_t addr, pcibus_t *plen, int > is_write); > > void pci_memory_unmap(PCIDevice *dev, void *buf, pcibus_t *plen, int > is_write, pcibus_t access_len); Are these functions intended to be controllable by the root bus object? It would be awfully nice if we would design in a hook that allowed iommu mapping to be done properly. r~