All of lore.kernel.org
 help / color / mirror / Atom feed
* How to allocate a page inside the guest OS from Xen
@ 2009-11-04 21:43 Abhinav Srivastava
  2009-11-05  2:14 ` James (song wei)
  0 siblings, 1 reply; 2+ messages in thread
From: Abhinav Srivastava @ 2009-11-04 21:43 UTC (permalink / raw)
  To: Xen-devel

Hi there,

In my project, I have to allocate a memory page inside the guest OS from the Xen hypervisor. The alloc_domheap_page(d) function allocates 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 that guest can access this page. I do not want to allocate a Xen page and share it with the guest. 

My question is: how do I make my guest OS aware of this page without doing anything inside the guest OS. Is there any function 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.

Any help would be appreciated?

Thanks,
Abhinav



      Keep up with people you care about with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/connectmore

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-05  2:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 21:43 How to allocate a page inside the guest OS from Xen Abhinav Srivastava
2009-11-05  2:14 ` James (song wei)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.