Re: [dpdk-dev] [PATCH] examples/vm_power_manager: fix build

2020-04-17 Thread Thomas Monjalon
17/04/2020 20:55, Ferruh Yigit: > Build fails because '__rte_unused' macro not defined in file, error > produced by 'i686-native-linux-gcc config' but it seems generic issue. > > Build error: > .../examples/vm_power_manager/oob_monitor_nop.c:11:13: >error: expected ‘;’ before ‘static’ >11

[dpdk-dev] [PATCH] examples/vm_power_manager: fix build

2020-04-17 Thread Ferruh Yigit
Build fails because '__rte_unused' macro not defined in file, error produced by 'i686-native-linux-gcc config' but it seems generic issue. Build error: .../examples/vm_power_manager/oob_monitor_nop.c:11:13: error: expected ‘;’ before ‘static’ 11 | __rte_unused static float |

[dpdk-dev] [PATCH] examples/vm_power_manager: fix build with libvirt version < 0.9.3

2016-04-11 Thread Marvin Liu
vm_power_manager utilize libvirt API virDomainGetVcpuPinInfo for retrieve domU vcpu information. This API implemented from version 0.9.3. Suse11 SP3 32bit default libvirt version is 0.8.8, so there'll be build error. Add judgement in sample Makefile to skip unsupport environment. examples/vm_power

[dpdk-dev] [PATCH] examples/vm_power_manager: fix build with libvirt version < 0.9.3

2016-04-11 Thread Thomas Monjalon
2016-04-11 11:45, Marvin Liu: > vm_power_manager utilize libvirt API virDomainGetVcpuPinInfo for > retrieve domU vcpu information. This API implemented from version 0.9.3. > Suse11 SP3 32bit default libvirt version is 0.8.8, so there'll be build > error. Add judgement in sample Makefile to skip uns

[dpdk-dev] [PATCH] examples/vm_power_manager: fix build with libvirt version < 0.9.3

2016-04-11 Thread Liu, Yong
Thanks Thomas, I'll send v2 for it. > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, April 11, 2016 3:24 PM > To: Liu, Yong > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/vm_power_manager: f

[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