numam-dpdk/lib/librte_eal
Michael Qiu 021d935a03 vfio: avoid enabling while the module is not loaded
When vfio module is not loaded when kernel support vfio feature,
the routine still try to open the container to get file
description.

This action is not safe, and of course got error messages:

EAL: Detected 40 lcore(s)
EAL:   unsupported IOMMU type!
EAL: VFIO support could not be initialized
EAL: Setting up memory...

This may make user confuse, this patch make it reasonable
and much more smooth to user.

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2015-01-15 13:41:39 +01:00
..
bsdapp eal/bsd: remove unused HPET support 2014-11-27 16:21:11 +01:00
common vfio: avoid enabling while the module is not loaded 2015-01-15 13:41:39 +01:00
linuxapp vfio: avoid enabling while the module is not loaded 2015-01-15 13:41:39 +01:00
Makefile eal: no more bare metal environment 2014-11-27 13:09:51 +01:00