Re: [PATCH kernel] KVM: PPC: Create a virtual-mode only TCE table handlers

2016-03-20 Thread Paul Mackerras
On Fri, Mar 18, 2016 at 01:50:42PM +1100, Alexey Kardashevskiy wrote: > Upcoming in-kernel VFIO acceleration needs different handling in real > and virtual modes which makes it hard to support both modes in > the same handler. > > This creates a copy of kvmppc_rm_h_stuff_tce and kvmppc_rm_h_put_tc

Re: [PATCH kernel] KVM: PPC: Create a virtual-mode only TCE table handlers

2016-03-18 Thread Paolo Bonzini
On 18/03/2016 10:16, Paul Mackerras wrote: > On Fri, Mar 18, 2016 at 01:50:42PM +1100, Alexey Kardashevskiy wrote: >> Upcoming in-kernel VFIO acceleration needs different handling in real >> and virtual modes which makes it hard to support both modes in >> the same handler. >> >> This creates a c