examples/vhost: embed statistics into device structure
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 2 May 2016 21:23:50 +0000 (14:23 -0700)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 10 May 2016 18:22:40 +0000 (20:22 +0200)
commit56fe86f8dcafb9e48390742467d39c78c1a432cf
tree2a29c42a030526c27bd76bb2046f32585ccbbd95
parent273ecdbc06a2fc09b0ac58b77b918a3f677c47a6
examples/vhost: embed statistics into device structure

Embed dev_statistics into vhost_dev struct, which could clean
the code a bit.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
examples/vhost/main.c
examples/vhost/main.h