From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/vm_power_manager: fix build when libvirt version < 1.0 Date: Mon, 07 Dec 2015 23:46:27 +0100 Message-ID: <1626324.YpYU5Tyz3I@xps13> References: <1449473057-16921-1-git-send-email-yong.liu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Yong 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 91E0C11C5 for ; Mon, 7 Dec 2015 23:47:39 +0100 (CET) Received: by wmvv187 with SMTP id v187so188901488wmv.1 for ; Mon, 07 Dec 2015 14:47:39 -0800 (PST) In-Reply-To: <1449473057-16921-1-git-send-email-yong.liu@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" 2015-12-07 15:24, Yong Liu: > virNodeGetCPUMap introduced in from libvirt 1.0. In some linux distributions > like Ubuntu12/14 and Fedora18, libvirt version is elder than 1.0. So this > sample will not build pass. > > Replace "virNodeGetCPUMap" with another libvirt API "virNodeGetInfo". > > Signed-off-by: Marvin Liu Applied, thanks