From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vfio: fix device unplug when several devices per vfio group Date: Sun, 30 Apr 2017 19:29:49 +0200 Message-ID: <1528500.cNnDXbOJL1@xps> References: <1493203787-25555-1-git-send-email-alejandro.lucero@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Burakov, Anatoly" To: Alejandro Lucero Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6944F689E for ; Sun, 30 Apr 2017 19:29:51 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 28/04/2017 15:25, Burakov, Anatoly: > From: Alejandro Lucero [mailto:alejandro.lucero@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 > > 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 Applied, thanks