Re: [PATCH kernel 5/9] KVM: PPC: Use preregistered memory API to access TCE list

2016-12-15 Thread David Gibson
On Thu, Dec 08, 2016 at 07:19:52PM +1100, Alexey Kardashevskiy wrote: > VFIO on sPAPR already implements guest memory pre-registration > when the entire guest RAM gets pinned. This can be used to translate > the physical address of a guest page containing the TCE list > from H_PUT_TCE_INDIRECT. >

[PATCH kernel 5/9] KVM: PPC: Use preregistered memory API to access TCE list

2016-12-08 Thread Alexey Kardashevskiy
VFIO on sPAPR already implements guest memory pre-registration when the entire guest RAM gets pinned. This can be used to translate the physical address of a guest page containing the TCE list from H_PUT_TCE_INDIRECT. This makes use of the pre-registrered memory API to access TCE list pages in