Re: [dpdk-dev] [PATCH v1 1/7] examples/power: add checks around hypervisor

2018-09-12 Thread Hunt, David
Hi Stephen, On 30/8/2018 5:59 PM, Stephen Hemminger wrote: On Thu, 30 Aug 2018 11:54:16 +0100 David Hunt wrote: Minor nits +static unsigned int global_hypervisor_available; Please use bool for boolean values. Will change in next revision. /* * Represents a single Virtual Machine

Re: [dpdk-dev] [PATCH v1 1/7] examples/power: add checks around hypervisor

2018-08-30 Thread Stephen Hemminger
On Thu, 30 Aug 2018 11:54:16 +0100 David Hunt wrote: Minor nits > +static unsigned int global_hypervisor_available; Please use bool for boolean values. > /* > * Represents a single Virtual Machine > @@ -198,7 +199,11 @@ get_pcpus_mask(struct channel_info *chan_info, unsigned > vcpu) > { >

[dpdk-dev] [PATCH v1 1/7] examples/power: add checks around hypervisor

2018-08-30 Thread David Hunt
Allow vm_power_manager to run without requiring qemy 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 --- examples/vm_pow