From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60935 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5RW7-0007l9-77 for qemu-devel@nongnu.org; Thu, 31 Mar 2011 19:43:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5RW6-0005vd-7a for qemu-devel@nongnu.org; Thu, 31 Mar 2011 19:43:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5RW5-0005vQ-Oq for qemu-devel@nongnu.org; Thu, 31 Mar 2011 19:43:06 -0400 Date: Fri, 1 Apr 2011 01:42:40 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] [PATCH RFC] vga: flag vga ram for notifiers Message-ID: <20110331234240.GA28793@redhat.com> References: <4D94C916.6080709@codemonkey.ws> <20110331184940.GA25688@redhat.com> <4D94CFA0.3030605@codemonkey.ws> <4D94D62E.2060206@codemonkey.ws> <4D94E2A7.80700@codemonkey.ws> <20110331213849.GB27264@redhat.com> <4D94F6FA.6080505@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D94F6FA.6080505@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , Alex Williamson , qemu-devel@nongnu.org On Thu, Mar 31, 2011 at 04:49:46PM -0500, Anthony Liguori wrote: > On 03/31/2011 04:38 PM, Michael S. Tsirkin wrote: > > > >>That seems like a clearer API, yes. I think it makes it much more > >>obvious what it's trying to achieve. > >> > >>-- PMM > >Maybe register_dma_area - its' not 100% virtio specific. > > It's never been clear to me whether that's true or not. I've heard > mixed things about whether devices DMA to other devices. I've never > been able to find something in a specification stating > authoritatively one way or another. > > Regards, > > Anthony Liguori > AFAIK the capability of cross-talk between PCI devices exists in PCI and is optional in PCI Express. PCI spec says: Full multi-master capability allowing any PCI master peer-to-peer access to any PCI master/target. The Express spec says: "The capability to route peer-to-peer transactions between hierarchy domains through a Root Complex is optional and implementation dependent. For example, an implementation may incorporate a real or virtual Switch internally within the Root Complex to enable full peer-to- peer support in a software transparent way." However I don't think guests use this with devices we emulate in any way. Haven't looked at ISA. -- MST