[dpdk-dev] [PATCH] vfio: fix device unplug when several devices per vfio group

Thomas Monjalon thomas at monjalon.net
Sun Apr 30 19:29:49 CEST 2017


28/04/2017 15:25, Burakov, Anatoly:
> From: Alejandro Lucero [mailto:alejandro.lucero at netronome.com]
> > VFIO allows a secure way of assigning devices to user space and those
> > devices which can not be isolated from other ones are set in same VFIO
> > group. Releasing or unplugging a device should be aware of remaining
> > devices is the same group for avoiding to close such a group.
> > 
> > Fixes: 94c0776b1bad ("vfio: support hotplug")
> > 
> > Signed-off-by: Alejandro Lucero <alejandro.lucero at netronome.com>
> 
> I have tested this on my setup on an old kernel with multiple attach/detaches, and it works (whereas it fails without this patch).
> 
> Acked-by: Anatoly  Burakov <anatoly.burakov at intel.com>

Applied, thanks


More information about the dev mailing list