doc: add core queries in power example guide
authorDavid Hunt <david.hunt@intel.com>
Fri, 15 Nov 2019 12:51:24 +0000 (12:51 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 26 Nov 2019 16:44:09 +0000 (17:44 +0100)
commitf433878a4fa53011a5027da76989a601717daee1
tree45d40c71917d66ecc8e663ec483da15fb0b0eb9c
parent64a525aad95b6a0d04c526d8253fe151aef866fb
doc: add core queries in power example guide

This patch adds some minor updates for the vm_power_manager and guest_cli
example applications.

Now that the virtio-serial channels between vm_power manager and
the guest_cli has bi-directional capability, there are some new commands.

Firstly, the command in vm_power_manager to enable queries for a given VM:

  * set_query {vm_name} enable|disable

Then, commands to query the frequencies and capabilities of the cores
in the VM:

  * query_cpu_freq {core_num}|all
  * query_cpu_caps {core_num}|all

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
doc/guides/sample_app_ug/vm_power_management.rst