numam-dpdk/lib/librte_eal
Dariusz Stojaczyk db9d32b8b7 vfio: check if group fd is already open
Always attempt to find already opened fd for an iommu
group as subsequent attempts to open it will fail.

There's no public API to check if a group was already
bound and has a container, so rte_vfio_container_group_bind()
shouldn't fail in such case.

Fixes: ea2dc10668 ("vfio: add multi container support")
Cc: stable@dpdk.org

Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-10-29 01:58:31 +01:00
..
bsdapp eal: force IOVA to a particular mode 2018-10-29 00:01:05 +01:00
common eal: add --iova-mode option 2018-10-28 23:41:26 +01:00
linuxapp vfio: check if group fd is already open 2018-10-29 01:58:31 +01:00
Makefile
meson.build mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
rte_eal_version.map mem: add function for checking memseg IOVA 2018-10-28 22:04:34 +01:00