examples/vhost: rename --dev-basename to --socket-file
authorJiayu Hu <jiayu.hu@intel.com>
Sat, 20 Aug 2016 10:10:33 +0000 (06:10 -0400)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 13 Sep 2016 03:25:08 +0000 (05:25 +0200)
commitbde19a4d4b123f2593f278fcaa31084601567e0e
treec963f59d73d97b4a2daece72668c0c455e9be113
parent5e3e5f0b569d3256b7b2bcb7566d13bb2771198a
examples/vhost: rename --dev-basename to --socket-file

In examples/vhost, "dev-basename" is a program option, which is to set
the vhost-net socket used by vhost-user, or the character device used
by vhost-cuse. Since vhost-cuse should be dropped, and "dev-basename"
is not a suitable name for the vhost-net socket. Therefore, this patch
is to change this option name for examples/vhost.

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