Hi Stephen,
> >
> > #
> > +# Unloads VFIO modules.
> > +#
> > +remove_vfio_module()
> > +{
> > + echo "Unloading any existing VFIO module"
> > + /sbin/lsmod | grep -s vfio > /dev/null
> > + if [ $? -eq 0 ] ; then
> > + sudo /sbin/rmmod vfio-pci
> > + sudo /sbin/rmmod vfi
On Thu, 1 May 2014 11:06:12 +
"Burakov, Anatoly" wrote:
>
> #
> +# Unloads VFIO modules.
> +#
> +remove_vfio_module()
> +{
> + echo "Unloading any existing VFIO module"
> + /sbin/lsmod | grep -s vfio > /dev/null
> + if [ $? -eq 0 ] ; then
> + sudo /sbin/rmmod vfio-p
Support for loading/unloading VFIO drivers, binding/unbinding
devices to/from VFIO, also setting up correct userspace permissions.
Signed-off-by: Anatoly Burakov
diff --git a/tools/setup.sh b/tools/setup.sh
index 39be8fc..2ffa55a 100755
--- a/tools/setup.sh
+++ b/tools/setup.sh
@@ -187,6 +187,52
3 matches
Mail list logo