From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 2/2] vfio: fix build issue Date: Tue, 16 Oct 2018 13:52:26 +0100 Message-ID: <10ce3595-ea26-59a5-e4ab-d3780edde2f3@intel.com> References: <1539690153-133112-1-git-send-email-jia.guo@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: Jeff Guo , anatoly.burakov@intel.com, thomas@monjalon.net Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id ACB8D5F1D for ; Tue, 16 Oct 2018 14:52:29 +0200 (CEST) In-Reply-To: <1539690153-133112-1-git-send-email-jia.guo@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 “VFIO_PCI_REQ_IRQ_INDEX” is undeclared. > This patch aim to fix this compile issue by add the macro > “HAVE_VFIO_DEV_REQ_INTERFACE” after checking the kernel version. > > Signed-off-by: Jeff Guo Fixes: 0eb8a1c4c786 ("vfio: add request notifier interrupt") Fixes: c115fd000c32 ("vfio: handle hotplug request notifier") Reviewed-by: Ferruh Yigit