From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=cYd6igDlt0sLSWyN4zI2qJkU9NyH/Y9zIq/BCcEPLx4=; b=W7ElcBpT4LqmxxwdCv3NnUlAznecrwVWxmg78SCDueg8j+NRrjU4dWGzxQh3glYC2N ZMayQvD1lU0BKpV/yhSwTbmViynAsf9JryAibUNjCp3sictCzWf9UenTI+KxpXj1WchA PN4WK/Kc1GHFDc/J6lOonIaT0P92rmRzBHw1t3qV3Kwnp4LpuAbcKsM54dKl2NA7V4s9 ygPTReQ81ZtJVz/lvBN8rne74K+IN73FPFb7YsdoAdGFrxDhBnyDhmoEt8zJyFBf9ZWH CoIDNikC9YmGTw/gTAQYAHfXXDgkjYZNXloxt29ZY6yqO2xXFxOVHLNlTKJRxFU/Z/Gx mvjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=cYd6igDlt0sLSWyN4zI2qJkU9NyH/Y9zIq/BCcEPLx4=; b=WrVizXk0miZP5beI9un7WzlBwe1SRFn0F2jm28bdyXb7C1OAp0JQUFOqwvPDRpFypD tPrRhMff0glxKF0Lt2qG9akQxWIIucavm7UkjwUAnTPPkKbtuCjD/j+i/Y19Ej2biq2/ N7Ho0dARVRsuICnVpgGxhdqRmtgSJvzNtpjxCcV+ygEHO2UjMvCGyfCtDokwzEXVhJsU bjZTynfpJi9x0mDgE0vGIVF0t6hCU0R2fVle2itIvomDB83fpbN8FX8oIrWYZ6SxBL8V H+hwfQTdcUz+UKAJJwUgMhGBZMwRWxkrpUY7FMSxjJ8Gu3ESV8wjT9GwadVCeQpOhx7i N6yA== X-Gm-Message-State: AD7BkJKd6uIwoJPiSroF2W3d1YhaRZ9uAs+gML3erDqgF2Cd37ldJ8Te2+l5++ZIcbkOhYjA X-Received: by 10.194.57.236 with SMTP id l12mr23244055wjq.126.1460377822433; Mon, 11 Apr 2016 05:30:22 -0700 (PDT) Received: from xps13.localnet (245.111.75.86.rev.sfr.net. [86.75.111.245]) by smtp.gmail.com with ESMTPSA id by7sm27685855wjc.18.2016.04.11.05.30.20 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Apr 2016 05:30:21 -0700 (PDT) From: Thomas Monjalon To: Marvin Liu Cc: dev@dpdk.org Date: Mon, 11 Apr 2016 14:30:20 +0200 Message-ID: <2216986.okr5RnWsAm@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1460371412-711-1-git-send-email-thomas.monjalon@6wind.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5] 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 12:30:22 -0000 > 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