<div>Hi,</div>
<div>&nbsp;</div>
<div>I am trying to access guest memory areas (both kernel and user space) from within lguest. </div>
<div>&nbsp;</div>
<div>I was able to read the guest kernel area by using&nbsp;the __pa() value of the guest address as the source address in copy_from_user().</div>
<div>&nbsp;</div>
<div>I was wondering, if there is a similar method to read the contents from guest userspace area too. Since, as I understand __pa()</div>
<div>works only on kernel virtual addresses. What would be an equivalent to read contents from guest&#39;s user space?</div>
<div>&nbsp;</div>
<div>Basically, given a virtual address of a guest user space program, how do I read the contents at that address from within </div>
<div>the hypervisor (lguest).</div>
<div>&nbsp;</div>
<div>Any help would be appreciated,</div>
<div>Cheers,</div>
<div>Sujit</div>