WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Acces a VM process address space from dom0.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Acces a VM process address space from dom0.
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 4 Dec 2007 03:01:19 +0000
Cc: Paradox <paradox@xxxxxxxxxxx>
Delivery-date: Mon, 03 Dec 2007 19:01:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <472B29E3.6090204@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1Inu9D-0007z3-Oc@host-192-168-0-1-bcn-london> <472B29E3.6090204@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] Acces a VM process address space from dom0., Mark Williamson <=