From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vhost: fix build error for old kernels Date: Fri, 11 Mar 2016 16:29:02 +0100 Message-ID: <4253372.xIbCfeeK0X@xps13> References: <1457427081-7290-1-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Yuanhan Liu Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 388BF2BD0 for ; Fri, 11 Mar 2016 16:30:47 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id l68so22218942wml.1 for ; Fri, 11 Mar 2016 07:30:47 -0800 (PST) In-Reply-To: <1457427081-7290-1-git-send-email-yuanhan.liu@linux.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-03-08 16:51, Yuanhan Liu: > VIRTIO_NET_F_GUEST_ANNOUNCE is a new feature introduced since kernel > v3.5. For older kernels (or more precisely, old distributions), we > could simply define it manually, to fix the "macro not defined" error. > > Fixes: d293dac8f30e ("vhost: claim support of guest announce") > > Signed-off-by: Yuanhan Liu Applied, thanks