vhost: log error for badly negotiated features
authorDariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Fri, 16 Jun 2017 14:32:05 +0000 (16:32 +0200)
committerYuanhan Liu <yliu@fridaylinux.org>
Fri, 16 Jun 2017 12:04:25 +0000 (14:04 +0200)
commit058e2d294bf9f726488644bf56f0db2c58c11532
treedc9504bd47c566f26fd53088528aae05be25e299
parent5bdd24e451c711129218c88292cae8e891e7506a
vhost: log error for badly negotiated features

Since vhost_user_set_features failure is not handled in any way, a
single error log has been added to at least to let the user know that
something has gone wrong.

Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/vhost_user.c