[XenAccess-devel] What's allocated on top 1M region of domU?
Status: Beta
Brought to you by:
bdpayne
From: Ryo K. <kan...@hp...> - 2007-12-02 10:12:33
|
Hi all. I'm now try to read and write puseud physical memory of domU from Dom0 with xa_access_physical_address() using my snippet code(phys-access-from-head.c). #for writ access, I modified xa_access_physical_address to access memory with PROT_WRITE flag. Now, I'm succeeded read and writing almost of the memory. But It fails when I try to access top 1M region and some bit regions. To be precise, xc_map_foreign_range() of libxc returns error code 14. What's allocated on top 1M region of domU? #and , Can I get a document about memory allocation of dom0 and DomU somewhere? regards. ---environment---- xen: Xen 3.1.0 xenaccess: head revision of subversion repository processor type: 32bit PAE Entire Memory: 2G DomU type: paravirtualized DomU Memory size: 512M ---using snippet--- #2 is DomU domain number, 0x0c000000 is arbitrary address accessible ./phys-access-from-head.out 2 0x0c000000 **************************************** HPCS lab 4th grade student of Colledge of Information Science, University of Tsukuba Ryo Kanbayashi -- **************************************** 筑波大学第三学群情報学類4年 HPCS研究室 神林 亮 |