[dpdk-dev] [PATCH] examples/vm_power_manager: fix build when libvirt version < 1.0

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Dec 7 23:46:27 CET 2015


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 <yong.liu at intel.com>

Applied, thanks


More information about the dev mailing list