vfio: check PCI dependency in PCI scan
authorGaetan Rivet <gaetan.rivet@6wind.com>
Thu, 26 Oct 2017 10:05:54 +0000 (12:05 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Oct 2017 21:17:31 +0000 (23:17 +0200)
commitdeff7fee9170efc03152e69ddec62142b47c6e4f
tree507b64ed30bf0e2f0732440d0126e64bec4c79e2
parent308eb10706a52f700765a43eb1d8473fa6022009
vfio: check PCI dependency in PCI scan

PCI sometimes requires vfio to be enabled.
Move the check from EAL init to PCI bus scan.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/linuxapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal_pci.c