From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAPaH-0000NE-7i for qemu-devel@nongnu.org; Sun, 02 Oct 2011 13:12:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAPaG-00025H-AO for qemu-devel@nongnu.org; Sun, 02 Oct 2011 13:12:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAPaG-00025B-1V for qemu-devel@nongnu.org; Sun, 02 Oct 2011 13:12:12 -0400 Message-ID: <4E889B67.1020900@redhat.com> Date: Sun, 02 Oct 2011 19:12:07 +0200 From: Avi Kivity MIME-Version: 1.0 References: <20111002132436.GD11521@bow.tlv.redhat.com> <20111002143140.GH11521@bow.tlv.redhat.com> In-Reply-To: <20111002143140.GH11521@bow.tlv.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Spice-devel] viewing continuous guest virtual memory as continuous in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, spice-devel@freedesktop.org, Dave Airlie On 10/02/2011 04:31 PM, Alon Levy wrote: > On Sun, Oct 02, 2011 at 03:24:36PM +0200, Alon Levy wrote: > > Hi, > > > > Converting qemu's ram allocation to a mmap and using remap_file_pages seems > like it could work. Any ideas why it wouldn't? > It's linux-specific. Also, does it work on anonymous memory? I suggest using scatter-gather, though it's annoying. -- error compiling committee.c: too many arguments to function