From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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 :content-type; bh=xTHPyjFRTGIMXjTdjZNi2VfFSNbeujjOrwC7wIdxnAg=; b=R9I0AhmvUOTzoisMq0jzTjAiyajfsA3j1ia1sfN/h4zQfCa5sKGu5u/L3SUdxIg1jA g3bEATbS0LvdCBtjLuecWE2WRHpPJ+IxGuTecgyx2ps5q97pUY+8bDNkkYRq7i2gm/1J UB7QCDMTHbIOUCDqwC8xdY+F4G8K+9Rw76TwOhZ2Uxxs2CG5HnuegOGebr28E9AbKw0s QK3h0xo873iRKajLMHyLc8QREPD7ciIbwG1divIoThCCbLt5OGH02oH2tba1mXTIFFYz 1drypY3KXeiNoc8jRHaUq10XeWytIs5z6SmqhbuOedcqhEEYU+dWrTNZfnPukr8Y3pae FbmQ== 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:content-type; bh=xTHPyjFRTGIMXjTdjZNi2VfFSNbeujjOrwC7wIdxnAg=; b=YpaCnxa1PE4JUeiSr0uZoZaXo0+QtJk+MpY5fQYA1+Z3zQkiQ/Jo35Ctzo9/NPP73n GSETpofuOWcBjeYY9FTSt9+pXZEbh5bvmpTh9yc4h1PZQShQ3hlFmW2GmRLcXsUMzjYr C/4J6LubheY+PjzrxhK7bd5vaLmLvSLAtf6bvmmXS0cZUwbcSMcOGXYVxdlnHAepXCWD 77ql/hqDJGhMI/hiFSNw8KVNVt2k6GDrNp9/8JVmaNo1ZRYfRrto4+u+Nm3G8qECmPla C+NltsmyI3woR6Y6S3BSbotsib9e5g+07juH6k7rzTAOcqlXJdarnpnYJS1+8Lu35idk 2eQw== X-Gm-Message-State: ALoCoQn+7iv4tfv2q6vQGMeqfLRFbBuw3stcEnHmF1JVCNgdrZciLZloHGxOtOuMllf/rTT72CYi55VPypgdAO1yIeSilHV7Sg== X-Received: by 10.194.78.212 with SMTP id d20mr248440wjx.70.1449528459440; Mon, 07 Dec 2015 14:47:39 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id v196sm688562wmv.10.2015.12.07.14.47.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Dec 2015 14:47:38 -0800 (PST) From: Thomas Monjalon To: Yong Liu Date: Mon, 07 Dec 2015 23:46:27 +0100 Message-ID: <1626324.YpYU5Tyz3I@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1449473057-16921-1-git-send-email-yong.liu@intel.com> References: <1449473057-16921-1-git-send-email-yong.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] examples/vm_power_manager: fix build when libvirt version < 1.0 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, 07 Dec 2015 22:47:39 -0000 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