diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-03-22 05:21:51 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-04-20 03:39:01 +0200 |
commit | 4898d3f49b5b156c33f0ae0f49ede417ab86195e (patch) | |
tree | e1ea4b1b40ad26b35411d890ab8ed20c2a2fb607 /arch/powerpc/kvm/Kconfig | |
parent | Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next (diff) | |
download | linux-4898d3f49b5b156c33f0ae0f49ede417ab86195e.tar.xz linux-4898d3f49b5b156c33f0ae0f49ede417ab86195e.zip |
KVM: PPC: Reserve KVM_CAP_SPAPR_TCE_VFIO capability number
This adds a capability number for in-kernel support for VFIO on
SPAPR platform.
The capability will tell the user space whether in-kernel handlers of
H_PUT_TCE can handle VFIO-targeted requests or not. If not, the user space
must not attempt allocating a TCE table in the host kernel via
the KVM_CREATE_SPAPR_TCE KVM ioctl because in that case TCE requests
will not be passed to the user space which is desired action in
the situation like that.
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>
Diffstat (limited to 'arch/powerpc/kvm/Kconfig')
0 files changed, 0 insertions, 0 deletions