All of lore.kernel.org
 help / color / mirror / Atom feed
* Acces a VM process address space from dom0.
       [not found] <E1Inu9D-0007z3-Oc@host-192-168-0-1-bcn-london>
@ 2007-11-02 13:45 ` Paradox
  2007-12-04  3:01   ` Mark Williamson
  0 siblings, 1 reply; 2+ messages in thread
From: Paradox @ 2007-11-02 13:45 UTC (permalink / raw)
  To: xen-devel

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

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

* Re: Acces a VM process address space from dom0.
  2007-11-02 13:45 ` Acces a VM process address space from dom0 Paradox
@ 2007-12-04  3:01   ` Mark Williamson
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Williamson @ 2007-12-04  3:01 UTC (permalink / raw)
  To: xen-devel; +Cc: Paradox

> 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!

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

end of thread, other threads:[~2007-12-04  3:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1Inu9D-0007z3-Oc@host-192-168-0-1-bcn-london>
2007-11-02 13:45 ` Acces a VM process address space from dom0 Paradox
2007-12-04  3:01   ` Mark Williamson

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.