Hi I''m newbe in xen developing. I must perform an access to a process address space that run in a VM from dom0. I have a virtual address, so I must know a paging mode enabled (from cr0 and cr4) and I must acces to page table of current process via cr3. You can suggest me some examples that perform this task? I see that exist some function like map_domain_va() and similar but I must verify the proper name in xen 3.1. You can help me? TNX in advance. Best Regards _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2007-Dec-04 03:01 UTC
Re: [Xen-devel] Acces a VM process address space from dom0.
> I''m newbe in xen developing. I must perform an access to a process > address space that run in a VM from dom0. I have a virtual address, so I > must know a paging mode enabled (from cr0 and cr4) and I must acces to > page table of current process via cr3. You can suggest me some examples > that perform this task? I see that exist some function like > map_domain_va() and similar but I must verify the proper name in xen > 3.1. You can help me?I think the functions in xc_ptrace.c that you''ve already found are probably along the right lines for you. map_domain_va sounds like it should do what you want. There are probably other functions in there you''ll find useful too! Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel