> > 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 cause 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 > > soomth to user. > > > > Signed-off-by: Michael Qiu <michael.qiu at intel.com> > > Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
Note that rte_eal_check_module has no bsd counterpart. It could be needed later. Applied Thanks -- Thomas