examples/vm_power: cli in guest
authorAlan Carew <alan.carew@intel.com>
Tue, 25 Nov 2014 16:18:06 +0000 (16:18 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 26 Nov 2014 16:27:03 +0000 (17:27 +0100)
commitf5e5c3347ae3eab86b4e0bd0cf269ef577bf5f92
treedb6790d4474bfde9560f34897b90c68d857f3848
parent8db653ff7889582327567b086eae438c61c3c499
examples/vm_power: cli in guest

Provides a small sample application(guest_vm_power_mgr) to run on a VM.
The application is run by providing a core mask(-c) and number of memory
channels(-n). The core mask corresponds to the number of lcore channels to
attempt to open. A maximum of 64 channels per VM is allowed. The channels must
be monitored by the host.
After successful initialisation a CPU frequency command can be sent to the host
using:
set_cpu_freq <lcore_num> <up|down|min|max>.

Signed-off-by: Alan Carew <alan.carew@intel.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
examples/vm_power_manager/guest_cli/Makefile [new file with mode: 0644]
examples/vm_power_manager/guest_cli/main.c [new file with mode: 0644]
examples/vm_power_manager/guest_cli/main.h [new file with mode: 0644]
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c [new file with mode: 0644]
examples/vm_power_manager/guest_cli/vm_power_cli_guest.h [new file with mode: 0644]