From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmamX-0004MZ-NE for qemu-devel@nongnu.org; Tue, 02 Mar 2010 17:41:37 -0500 Received: from [199.232.76.173] (port=40025 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmamX-0004ML-6X for qemu-devel@nongnu.org; Tue, 02 Mar 2010 17:41:37 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NmamW-0007Ye-B0 for qemu-devel@nongnu.org; Tue, 02 Mar 2010 17:41:36 -0500 Received: from mx20.gnu.org ([199.232.41.8]:37701) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NmamV-0007YU-MS for qemu-devel@nongnu.org; Tue, 02 Mar 2010 17:41:36 -0500 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NmamR-0006mr-9u for qemu-devel@nongnu.org; Tue, 02 Mar 2010 17:41:31 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Re: [PATCHv2 10/12] tap: add vhost/vhostfd options Date: Tue, 2 Mar 2010 22:41:27 +0000 References: <20100302161247.GA25371@amt.cnet> <4B8D4350.6040506@codemonkey.ws> In-Reply-To: <4B8D4350.6040506@codemonkey.ws> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003022241.27803.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: quintela@redhat.com, Marcelo Tosatti , qemu-devel@nongnu.org, "Michael S. Tsirkin" , kraxel@redhat.com, amit.shah@redhat.com > The new function I'm proposing has the following semantics: > > - it always returns a persistent mapping > - it never bounces > - it will only fail if the mapping isn't ram So you're assuming that virtio rings are in ram that is not hot-pluggable or remapable, and the whole region is contiguous? That sounds like it's likely to come back and bite you. The guest has no idea which areas of ram happen to be contiguous on the host. Paul