On Thu, 1 May 2014 11:06:12 +0000
"Burakov, Anatoly" <anatoly.burakov at intel.com> 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-pci
> +             sudo /sbin/rmmod vfio_iommu_type1
> +             sudo /sbin/rmmod vfio
> +     fi
> +}
> +

Won't this break if KVM is using vfio and running DPDK application as well.

Reply via email to