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>
10 lines
199 B
Makefile
10 lines
199 B
Makefile
CONFIG_PCI=y
|
|
CONFIG_VIRTIO_PCI=y
|
|
CONFIG_VIRTIO=y
|
|
CONFIG_SCLPCONSOLE=y
|
|
CONFIG_TERMINAL3270=y
|
|
CONFIG_S390_FLIC=y
|
|
CONFIG_S390_FLIC_KVM=$(CONFIG_KVM)
|
|
CONFIG_VFIO_CCW=$(CONFIG_LINUX)
|
|
CONFIG_WDT_DIAG288=y
|