From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWxXK-0003bc-FB for qemu-devel@nongnu.org; Mon, 18 Jan 2010 14:45:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWxXG-0003YN-Pf for qemu-devel@nongnu.org; Mon, 18 Jan 2010 14:45:18 -0500 Received: from [199.232.76.173] (port=53986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWxXG-0003Y9-In for qemu-devel@nongnu.org; Mon, 18 Jan 2010 14:45:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17479) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWxXG-0006eR-4o for qemu-devel@nongnu.org; Mon, 18 Jan 2010 14:45:14 -0500 Date: Mon, 18 Jan 2010 21:41:47 +0200 From: "Michael S. Tsirkin" Message-ID: <20100118194147.GB15430@redhat.com> References: <20100118105615.GA8277@redhat.com> <20100118175325.GA15430@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100118175325.GA15430@redhat.com> 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 07:53:25PM +0200, Michael S. Tsirkin wrote: > 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. To put it in other words: could you please be more explicit please? I failed to see the relevance ... -- MST