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

2016-08-11 Thread David Gibson
On Wed, Aug 03, 2016 at 06:40:51PM +1000, 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 10/15] KVM: PPC: Use preregistered memory API to access TCE list

2016-08-03 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 ord