vhost: add debug vhost-user on | off CLI 76/6976/2
authorSteven <sluong@cisco.com>
Thu, 1 Jun 2017 19:49:23 +0000 (12:49 -0700)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 2 Jun 2017 09:12:20 +0000 (09:12 +0000)
commit388e51aaae5a845524410a8acdf1c0cbb4a13897
treea6c2dcc6f47cf2a7075569cbdbc7e14e0739670f
parentccd4a6588c6f486f7616286b054a5ac123f5c502
vhost: add debug vhost-user on | off CLI

Add runtime debug vhost-user on | off CLI to facilitate troubleshooting.
This feature is needed to avoid recompiling the code to debug vhost issues.
The debugging messages should not be on the data path to avoid performance
hit.

Change-Id: I4c40f65dbb222557cba3fb8706fa3b7b62eec95f
Signed-off-by: Steven <sluong@cisco.com>
src/vnet/devices/virtio/vhost-user.c
src/vnet/devices/virtio/vhost-user.h