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

2015-12-07 Thread Thomas Monjalon
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

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

2015-12-07 Thread 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 diff --git a/example