]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Pass kvm* to kvmppc_find_table()
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 22 Mar 2017 04:21:53 +0000 (15:21 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 20 Apr 2017 01:39:12 +0000 (11:39 +1000)
commit113fadf2b219c0faebc6410f9b3f5dd6e7457e39
treeff93a4bed3d1317168d72734b1db9ceb413c0ec6
parentfc19b683ab4e098a672fd2bcc9255cc30978b8d2
KVM: PPC: Pass kvm* to kvmppc_find_table()

The guest view TCE tables are per KVM anyway (not per VCPU) so pass kvm*
there. This will be used in the following patches where we will be
attaching VFIO containers to LIOBNs via ioctl() to KVM (rather than
to VCPU).

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_64_vio.c
arch/powerpc/kvm/book3s_64_vio_hv.c