From: Christoph L. <cla...@sg...> - 2008-01-15 17:39:22
|
On Tue, 15 Jan 2008, Avi Kivity wrote: > > 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(). Ahh.. Okay I was talking about a guest exporting its memory to another guest. > 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). But then the guest does not have its own page struct to manage the memory. |