On 14-Sep-18 2:53 PM, David Hunt wrote:
Allow vm_power_manager to run without requiring qemu to be present
on the machine. This will be required for instances where the JSON
interface is used for commands and polices, without any VMs present.
A use case for this is a container enviromnent.

Signed-off-by: David Hunt <david.h...@intel.com>
---

<snip>

--- a/examples/vm_power_manager/channel_monitor.c
+++ b/examples/vm_power_manager/channel_monitor.c
@@ -66,7 +66,7 @@ static void
  core_share_status(int pNo)
  {
- int noVms, noVcpus, z, x, t;
+       int noVms = 0, noVcpus = 0, z, x, t;

This looks like a unrelated change?

        get_all_vm(&noVms, &noVcpus);


--
Thanks,
Anatoly

Reply via email to