examples/vm_power: add check for port count
authorDavid Hunt <david.hunt@intel.com>
Fri, 13 Jul 2018 14:22:54 +0000 (15:22 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 20 Jul 2018 20:53:17 +0000 (22:53 +0200)
commitace158c4a82199de12dbc4266b08d855d406443c
tree27952a80419565ef8a5442b812c48febc5a27837
parent6793a1f771556c2d28122171e147094cba8fefc4
examples/vm_power: add check for port count

If we don't pass any ports to the app, we don't need to create
any mempools, and we don't need to init any ports.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
examples/vm_power_manager/main.c