From: Abhinav Srivastava Subject: How to allocate a page inside the guest OS from Xen Date: Thu, 5 Nov 2009 03:13:55 +0530 (IST) Message-ID: <801952.71859.qm@web7905.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel List-Id: xen-devel@lists.xenproject.org Hi there,=0A=0AIn my project, I have to allocate a memory page inside the g= uest OS from the Xen hypervisor. The alloc_domheap_page(d) function allocat= es a single page from the dom heap, which looks okey for my purpose. But, I= do not know how to add the allocated page into the guest page table, so th= at guest can access this page. I do not want to allocate a Xen page and sha= re it with the guest. =0A=0AMy question is: how do I make my guest OS aware= of this page without doing anything inside the guest OS. Is there any func= tion in Xen that directly adds a page into the guest OS address space or I = have to walk on the guest page tables and add this page manually.=0A=0AAny = help would be appreciated?=0A=0AThanks,=0AAbhinav=0A=0A=0A=0A Keep up = with people you care about with Yahoo! India Mail. Learn how. http://in.ove= rview.mail.yahoo.com/connectmore