[Lguest] Guest Addresses.

Rusty Russell rusty at rustcorp.com.au
Thu May 22 15:45:14 EST 2008


On Wednesday 21 May 2008 18:08:15 Sujit Sanjeev wrote:
> Hi,
>
> Thanks for the reply.
>
> Is there a way to directly access guest user space addresses from the
> hypervisor, without copying it contents
> via the guest kernel? i.e. without taking the guest kernel's help.
>
> Basically, given a virtual address from the objdump output of an ELF
> executable, and if this executable
> is executing in the guest user space, can the hypervisor access the
> contents of this running process directly?

Not really.  You'd need to know the root of the page table for that particular 
process, and then you'd only see the pages which are present: the guest 
kernel is quite entitled to swap pages out.

But if you know the root of the page table for that process, you would be able 
to find out the physical pages which are present.

Hope that helps,
Rusty.



More information about the Lguest mailing list