From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/2] vfio: fix build issue Date: Tue, 16 Oct 2018 14:55:58 +0200 Message-ID: <13173016.DHzOh1Wy4B@xps> References: <1539690153-133112-1-git-send-email-jia.guo@intel.com> <10ce3595-ea26-59a5-e4ab-d3780edde2f3@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: Ferruh Yigit , anatoly.burakov@intel.com, dev@dpdk.org To: Jeff Guo Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2A6A82BD3 for ; Tue, 16 Oct 2018 14:55:57 +0200 (CEST) In-Reply-To: <10ce3595-ea26-59a5-e4ab-d3780edde2f3@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" 16/10/2018 14:52, Ferruh Yigit: > On 10/16/2018 12:42 PM, Jeff Guo wrote: > > Since the older kernel version do not implement the device request > > interface for vfio, so when build on the kernel < v4.0.0, which is > > the version begin to add the device request interface, it will > > throw the error to show =E2=80=9CVFIO_PCI_REQ_IRQ_INDEX=E2=80=9D is und= eclared. > > This patch aim to fix this compile issue by add the macro > > =E2=80=9CHAVE_VFIO_DEV_REQ_INTERFACE=E2=80=9D after checking the kernel= version. > >=20 > > Signed-off-by: Jeff Guo >=20 > Fixes: 0eb8a1c4c786 ("vfio: add request notifier interrupt") > Fixes: c115fd000c32 ("vfio: handle hotplug request notifier") >=20 > Reviewed-by: Ferruh Yigit Series applies, thanks