examples/vhost: support multiple socket files
authorJiayu Hu <jiayu.hu@intel.com>
Sat, 20 Aug 2016 10:11:36 +0000 (06:11 -0400)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 13 Sep 2016 03:25:08 +0000 (05:25 +0200)
commitad0eef4d220329670fb09c95a59037ebbdb6054b
treedc0365a0633a6ed94510b6c090123aee3162ad54
parentbde19a4d4b123f2593f278fcaa31084601567e0e
examples/vhost: support multiple socket files

When examples/vhost runs in client mode, only one QEMU can be connected.
This is because that examples/vhost just supports one socket file. This
patch is to add multiple sockets support for examples/vhost.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
examples/vhost/main.c