All of lore.kernel.org
 help / color / mirror / Atom feed
* Doubt regarding virtual memory mapping from hypervisor to a domain
@ 2011-01-28 19:23 Kaustubh Kabra
  2011-01-31 15:36 ` Dan Magenheimer
  0 siblings, 1 reply; 4+ messages in thread
From: Kaustubh Kabra @ 2011-01-28 19:23 UTC (permalink / raw)
  To: xen-devel; +Cc: vasani.ashwin, Dan Magenheimer, keir, Tim.Deegan

Hi,
I have allocated few order=9 pages in Xen memory space using
alloc_domheap_pages(NULL,9,0) during boot time just before domain is
created (dom0 = domain_create(0, DOMCRF_s3_integrity, DOM0_SSIDREF) in
xen/arch/x86/setup.c).

I got the following virtual addresses in xen log message-
(XEN) a2k2: Virt_addr:ffff83011cc00000   MFN:11cc00
(XEN) a2k2: Virt_addr:ffff83011ca00000   MFN:11ca00
(XEN) a2k2: Virt_addr:ffff83011c800000   MFN:11c800
(XEN) a2k2: Virt_addr:ffff83011c600000   MFN:11c600
(XEN) a2k2: Virt_addr:ffff83011c400000   MFN:11c400
(XEN) a2k2: Virt_addr:ffff83011c200000   MFN:11c200
(XEN) a2k2: Virt_addr:ffff83011c000000   MFN:11c000
(XEN) a2k2: Virt_addr:ffff83011be00000   MFN:11be00

As per config.h file Xen memory map,the virtual mapping shows that the
memory is  allocated in
1:1 direct mapping of all physical memory .Can anyone elaborate
regarding this mapping ?

Now can I allocate this mapped memory reserved by Xen hypervisor to
any domain through any existing or my new hypercall?

--
Regards,
Kaustubh Kabra
Pune Institute Of Computer  Technology,
University of Pune,
India.

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

end of thread, other threads:[~2011-02-10 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 19:23 Doubt regarding virtual memory mapping from hypervisor to a domain Kaustubh Kabra
2011-01-31 15:36 ` Dan Magenheimer
2011-02-10 13:26   ` Kaustubh Kabra
2011-02-10 15:13     ` Konrad Rzeszutek Wilk

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.