On 03/02/2015 13:11, Thomas Huth wrote:
> The userspace (QEMU) then can simply call this ioctl when it wants
> to read or write from/to virtual guest memory. Then kernel then takes
> the IPTE-lock, walks the MMU table of the guest to find out the
> physical address that corresponds to the virtual address, copies
> the requested amount of bytes from the userspace buffer to guest
> memory or the other way round, and finally frees the IPTE-lock again.
> 
> Does that sound like a viable solution (IMHO it does ;-))? Or should
> I maybe try to pursue another approach?

It looks feasible to me as well.

Paolo

Reply via email to