[dpdk-dev] [PATCH v6] VFIO: Avoid to enable vfio while the module not loaded
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Jan 15 14:38:27 CET 2015
> > 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
More information about the dev
mailing list