Re: [Qemu-devel] [QEMU-PPC] [PATCH 11/13] target/ppc: Implement hcall H_COPY_TOFROM_GUEST

2019-05-09 Thread David Gibson
On Fri, May 03, 2019 at 03:53:14PM +1000, Suraj Jitindar Singh wrote: > The hcall H_COPY_TOFROM_GUEST of used by a guest acting as a nested > hypervisor to access quadrants since quadrant access is hypervisor > privileged. > > Translate the guest address to be accessed, map the memory and perform

[Qemu-devel] [QEMU-PPC] [PATCH 11/13] target/ppc: Implement hcall H_COPY_TOFROM_GUEST

2019-05-02 Thread Suraj Jitindar Singh
The hcall H_COPY_TOFROM_GUEST of used by a guest acting as a nested hypervisor to access quadrants since quadrant access is hypervisor privileged. Translate the guest address to be accessed, map the memory and perform the access on behalf of the guest. If the parameters are invalid, the address ca