numam-dpdk/examples/vm_power_manager
Marvin Liu e5140f5266 examples/vm_power_manager: fix libvirt dependency check
vm_power_manager utilize libvirt API virDomainGetVcpuPinInfo to
retrieve domU vcpu information. This API is implemented from version 0.9.3.
Suse11 SP3 32bit default libvirt version is 0.8.8.

examples/vm_power_manager/channel_manager.c:
channel_manager.c:117:3: error: implicit declaration of function
'virDomainGetVcpuPinInfo'

Check and skip it from examples or raise an error when trying to compile
without libvirt or with a too old libvirt.

Fixes: e8ae9b662 ("examples/vm_power: channel manager and monitor in host")

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2016-04-11 14:29:19 +02:00
..
guest_cli config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
channel_manager.c config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
channel_manager.h examples/vm_power: fix max length of unix socket path 2014-12-17 01:04:06 +01:00
channel_monitor.c config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
channel_monitor.h examples/vm_power: channel manager and monitor in host 2014-11-26 17:27:03 +01:00
main.c config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
Makefile examples/vm_power_manager: fix libvirt dependency check 2016-04-11 14:29:19 +02:00
power_manager.c config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
power_manager.h examples/vm_power: cpu frequency in host 2014-11-26 17:27:03 +01:00
vm_power_cli.c config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
vm_power_cli.h examples/vm_power: cli in host 2014-11-26 17:27:03 +01:00