numam-dpdk/examples/vm_power_manager
David Hunt 0f2f911deb examples/vm_power: fix no port in guest
If there are no ports available to the guest cli application, it will
exit when setting up the default policy because it fails to set the mac
address. This should not be the case, as this example can be used for
many other use cases that do not need ports.

If ports not found, simply set nb_mac_to_monitor in the policy to zero
and continue.

Fixes: 70febdcfd6 ("examples: check status of getting MAC address")

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Lei Yao <lei.a.yao@intel.com>
2019-11-12 08:26:25 +01:00
..
guest_cli examples/vm_power: fix no port in guest 2019-11-12 08:26:25 +01:00
channel_manager.c examples/vm_power: add mechanism to disable queries 2019-10-27 20:58:16 +01:00
channel_manager.h examples/vm_power: add mechanism to disable queries 2019-10-27 20:58:16 +01:00
channel_monitor.c examples/vm_power: send CPU capabilities on VM request 2019-10-27 21:12:41 +01:00
channel_monitor.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
main.c examples: check status of getting MAC address 2019-10-07 15:00:55 +02:00
Makefile examples: detect default build directory 2019-03-30 01:12:15 +01:00
meson.build examples/power: fix FreeBSD meson lib dependency 2019-07-12 10:26:55 +01:00
oob_monitor_nop.c examples/vm_power: add oob monitoring functions 2018-07-20 22:53:17 +02:00
oob_monitor_x86.c examples/vm_power: fix OOB frequency oscillations 2019-11-12 08:21:57 +01:00
oob_monitor.h examples/vm_power: add oob monitoring functions 2018-07-20 22:53:17 +02:00
parse.c examples/vm_power: add core list parameter 2018-07-20 22:53:17 +02:00
parse.h examples/vm_power: add core list parameter 2018-07-20 22:53:17 +02:00
power_manager.c examples/vm_power: fix OOB frequency oscillations 2019-11-12 08:21:57 +01:00
power_manager.h examples/vm_power: fix OOB frequency oscillations 2019-11-12 08:21:57 +01:00
vm_power_cli.c examples/vm_power: add mechanism to disable queries 2019-10-27 20:58:16 +01:00
vm_power_cli.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00