From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWvqQ-0000bk-Dm for qemu-devel@nongnu.org; Mon, 18 Jan 2010 12:56:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWvqL-0000Zg-EK for qemu-devel@nongnu.org; Mon, 18 Jan 2010 12:56:53 -0500 Received: from [199.232.76.173] (port=57692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWvqL-0000ZY-7u for qemu-devel@nongnu.org; Mon, 18 Jan 2010 12:56:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59632) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWvqK-0008C8-N3 for qemu-devel@nongnu.org; Mon, 18 Jan 2010 12:56:48 -0500 Date: Mon, 18 Jan 2010 19:53:25 +0200 From: "Michael S. Tsirkin" Message-ID: <20100118175325.GA15430@redhat.com> References: <20100118105615.GA8277@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [PATCHv2 0/3] rwhandler: introduce and switch pci_host to it List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Isaku Yamahata , paul@codesourcery.com, qemu-devel@nongnu.org, Aurelien Jarno , agraf@suse.de On Mon, Jan 18, 2010 at 05:50:35PM +0000, Blue Swirl wrote: > On Mon, Jan 18, 2010 at 10:56 AM, Michael S. Tsirkin wrote: > > Alexander, so I assume the following patchset should be enough for you > > to implement u3 support, simply by creating your own rwhandler, and > > using pci_data_read/write directly there. I have pushed it to a > > temporary branch in my tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/mst/qemu.git rwhandler > > > > Paul, any comments on this approach? > > > > I'll push this to my pci tree if this turns out to be helpful. > > Hope this helps, and sorry about the churn. > > I proposed earlier something similar for MMIO. The thread could be interesting: > http://lists.gnu.org/archive/html/qemu-devel/2009-05/msg00095.html IIUC that patch seems to do much more, and also seems to involve all io? This one is just a library that devices can use. Intended users are not performance-critical like pci config. -- MST