From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 07D14209E6; Mon, 23 Oct 2017 18:36:52 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 23 Oct 2017 18:36:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=W8cS0XJuae91000eA5/7+FzfQC L3EP1DkKLgnfqXui4=; b=TcGvSVdKMa8fFpgMCyS8V5Pr0lYuug8hwC7kzC58S1 b0Xc1agB8WDnLEBNJPXXMlex250F/Nzc1BOFuBJ7Pos0elh8FE54HJ7VbzdnMJAv dWuSIt+H/kvxce8775PCerNgC6UxAXcSgAzq8ZLWDYxVBU30XQSK1XKxd19H12Y3 s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=W8cS0X Juae91000eA5/7+FzfQCL3EP1DkKLgnfqXui4=; b=N4FqNwmeGVlsNWhkalDjTi LuQSK6D2/YX0XlukHMcw+yvCPPHMjJDsOYRiawW6XpApN63PODl9egINdSm1RhXA Gf0PgdJcT/b7qgi4ueBGaUVOVMnyS5+k7NnConyu2JIbSXKz+Wf94zFq5iTDoaSy l6TM6EILPZpc+kseunHCbzpmWvxRA00sg4NlLtdKU1WLRVpDzHke2f5fcQ9MehcI edUWRlZXLDw4WiLcSjokVnkjLntqGAAfprWUjQIfzsgDQQ5+WzX1ZPbII5fVLk9E z1RL2dJ3Th73C1N+jo9jsvn10CDBql0PbgyUIH0FCuG8vv9uR9NKMNiz9N/+dP3g == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B16517F91D; Mon, 23 Oct 2017 18:36:51 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, alejandro.lucero@netronome.com Date: Tue, 24 Oct 2017 00:36:50 +0200 Message-ID: <18413094.KKp6DYXoVE@xps> In-Reply-To: <1508505832-5373-1-git-send-email-anatoly.burakov@intel.com> References: <1508505832-5373-1-git-send-email-anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] vfio: fix secondary process initialization X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 22:36:52 -0000 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