From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vfio: fix secondary process initialization Date: Tue, 24 Oct 2017 00:36:50 +0200 Message-ID: <18413094.KKp6DYXoVE@xps> References: <1508505832-5373-1-git-send-email-anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, alejandro.lucero@netronome.com To: Anatoly Burakov Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 65CEF1B6E3 for ; Tue, 24 Oct 2017 00:36:52 +0200 (CEST) In-Reply-To: <1508505832-5373-1-git-send-email-anatoly.burakov@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/10/2017 15:23, Anatoly Burakov: > When getting group fd from primary process, secondary wasn't storing > the fd anywhere, leading to a (harmless) error message in EAL logs, > and (not so harmless) potential problems when hot-unplugging devices > managed by VFIO in a secondary process. > > Fix it by actually storing the group fd whenever we get a valid one > from the secondary process. > > Fixes: 94c0776b1bad ("vfio: support hotplug") > Cc: alejandro.lucero@netronome.com > > Signed-off-by: Anatoly Burakov Applied, thanks