From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlkQi-0002R5-AO for qemu-devel@nongnu.org; Sun, 28 Feb 2010 09:47:36 -0500 Received: from [199.232.76.173] (port=37379 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlkQh-0002Qh-Rd for qemu-devel@nongnu.org; Sun, 28 Feb 2010 09:47:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NlkQg-0005OF-Nr for qemu-devel@nongnu.org; Sun, 28 Feb 2010 09:47:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:2568) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NlkQg-0005O7-D8 for qemu-devel@nongnu.org; Sun, 28 Feb 2010 09:47:34 -0500 Date: Sun, 28 Feb 2010 16:44:13 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] Re: [PATCHv2 09/12] vhost: vhost net support Message-ID: <20100228144412.GC28921@redhat.com> References: <201002280159.27231.paul@codesourcery.com> <20100228101509.GB28921@redhat.com> <201002281245.07802.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201002281245.07802.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: amit.shah@redhat.com, quintela@redhat.com, qemu-devel@nongnu.org, kraxel@redhat.com On Sun, Feb 28, 2010 at 12:45:07PM +0000, Paul Brook wrote: > > > There certainly > > > exist machines that can change physical RAM mapping. > > > > I am talking about mapping between phy RAM offset and qemu virt address. > > When can it change without RAM in question going away? > > RAM offset or guest physical address? The two are very different. RAM offset. virtio only cares about where the rings are. > Some machines have chip selects that allow given physical address range to be > mapped to different banks of ram. > > Paul So guest can cause vhost to write to a wrong place in RAM, but it can just pass a wrong address directly. As long as vhost does not access a non-RAM address, we are definitely fine. -- MST