From: Akio Takebe Subject: Re: Question about memory management in Xen Date: Wed, 31 Oct 2007 13:14:13 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Haifeng He , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, >I was wondering if it is possible to share machine memory pages >between Domains. I found there is a function >"share_xen_page_with_guest" in arch/x86/mm.c. What's used for? Is it >possible to use the function for that purpose? The function is used for sharing between hypervisor and guest. Hypervisor need to map shared memory to guest for console page and shared info page before staring guest. If you can share between domains, you should use grant table. Best Regards, Akio Takebe