From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5] examples/vm_power_manager: fix libvirt dependency check Date: Mon, 11 Apr 2016 14:30:20 +0200 Message-ID: <2216986.okr5RnWsAm@xps13> References: <1460370772-17663-1-git-send-email-thomas.monjalon@6wind.com> <1460371412-711-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Marvin Liu Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id A74372946 for ; Mon, 11 Apr 2016 14:30:22 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id n3so102365780wmn.0 for ; Mon, 11 Apr 2016 05:30:22 -0700 (PDT) In-Reply-To: <1460371412-711-1-git-send-email-thomas.monjalon@6wind.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" > 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 > Acked-by: Bruce Richardson Applied