vfio/ccw: vfio based subchannel passthrough driver
commit1dcac3e15263674bb9c84feed6b35bb1f7bc1c6b
authorXiao Feng Ren <renxiaof@linux.vnet.ibm.com>
Wed, 17 May 2017 00:48:07 +0000 (17 02:48 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 19 May 2017 10:29:01 +0000 (19 12:29 +0200)
tree5d3f4df1add6dd9c04f0c3cc6bab0a000d23bf56
parenta8eac9431ad060012348908f93d6421ae3c97300
vfio/ccw: vfio based subchannel passthrough driver

We use the IOMMU_TYPE1 of VFIO to realize the subchannels
passthrough, implement a vfio based subchannels passthrough
driver called "vfio-ccw".

Support qemu parameters in the style of:
"-device vfio-ccw,sysfsdev=$mdev_file_path,devno=xx.x.xxxx'

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170517004813.58227-8-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
default-configs/s390x-softmmu.mak
hw/vfio/Makefile.objs
hw/vfio/ccw.c [new file with mode: 0644]
include/hw/vfio/vfio-common.h