From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 67C342E8A for ; Mon, 11 Apr 2016 12:37:42 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 11 Apr 2016 03:37:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,462,1455004800"; d="scan'208";a="929856293" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.15]) by orsmga001.jf.intel.com with SMTP; 11 Apr 2016 03:37:26 -0700 Received: by (sSMTP sendmail emulation); Mon, 11 Apr 2016 11:37:24 +0025 Date: Mon, 11 Apr 2016 11:37:23 +0100 From: Bruce Richardson To: Thomas Monjalon Cc: dev@dpdk.org, Marvin Liu Message-ID: <20160411103723.GA18468@bricha3-MOBL3> References: <1460369173-30343-1-git-send-email-yong.liu@intel.com> <1460370772-17663-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1460370772-17663-1-git-send-email-thomas.monjalon@6wind.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v4] examples/vm_power_manager: fix libvirt dependency check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2016 10:37:42 -0000 On Mon, Apr 11, 2016 at 12:32:52PM +0200, Thomas Monjalon wrote: > From: Marvin Liu > > vm_power_manager utilize libvirt API virDomainGetVcpuPinInfo to > retrieve domU vcpu information. This API is implemented from version 0.9.3. > Suse11 SP3 32bit default libvirt version is 0.8.8. > > examples/vm_power_manager/channel_manager.c: > channel_manager.c:117:3: error: implicit declaration of function > ‘virDomainGetVcpuPinInfo’ > > Check and skip it from examples or raise an error when trying to compile > without libvirt or with a too old libvirt. > > Fixes: e8ae9b662 ("examples/vm_power: channel manager and monitor in host") > > Signed-off-by: Marvin Liu > Signed-off-by: Thomas Monjalon > --- > examples/Makefile | 4 ++++ > examples/vm_power_manager/Makefile | 6 ++++++ > 2 files changed, 10 insertions(+) > > v4: mix v2 and v3 to skip in examples list but raise an error if trying > to compile directly > Yes, that is the correct way to fix it, I believe. Acked-by: Bruce Richardson