qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Spice-devel] viewing continuous guest virtual memory a


From: Alon Levy
Subject: Re: [Qemu-devel] [Spice-devel] viewing continuous guest virtual memory as continuous in qemu
Date: Mon, 3 Oct 2011 09:49:17 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Oct 02, 2011 at 07:12:07PM +0200, Avi Kivity wrote:
> 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?

Anonymous: I don't think so. I've done shm_open and mmap'ed it twice, one for 
the ram
and the other to do remap_file_pages on it. Couldn't figure out how to get two 
mmaps pointing
to the same physical memory without shm_open.

> 
> I suggest using scatter-gather, though it's annoying.
> 
> -- 
> error compiling committee.c: too many arguments to function
> 
> _______________________________________________
> Spice-devel mailing list
> address@hidden
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]