[dpdk-dev] VFIO in setup.sh
Burakov, Anatoly
anatoly.burakov at intel.com
Tue Mar 31 11:05:04 CEST 2015
> > 3. Why depend on location of vfio module in kernel tree?
> > modprobe does the right thing and finds it.
> >
> > VFIO_PATH="kernel/drivers/vfio/pci/vfio-pci.ko"
> >
> > echo "Loading VFIO module"
> > /sbin/lsmod | grep -s vfio_pci > /dev/null
> > if [ $? -ne 0 ] ; then
> > if [ -f /lib/modules/$(uname -r)/$VFIO_PATH ] ; then
> > sudo /sbin/modprobe vfio-pci
> > fi
> > fi
> >
Here I agree. Needs to be fixed.
Thanks,
Anatoly
More information about the dev
mailing list