Christoph Lameter wrote:
> On Sat, 12 Jan 2008, Avi Kivity wrote:
>
>   
>> Two kvm instances mmap() the file (from anywhere) into the guest address
>> space.  That memory is shared, and will be backed by the same page structs at
>> the same offset.
>>     
>
> Duh. Impossible. Two instances of Linux cannot share page structs. So how 
> are you doing this? Or is this just an idea?
>
>   

I was describing one Linux host running two guest instances.  The page 
structs are in the host, so they are shared by mmap().

kvm userspace is just an ordinary host process, it can mmap() any file 
it likes and then assign that virtual memory range to the guest (as 
guest physical memory).

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to