numam-spdk/lib/rte_vhost
Dayu Liu b8ac3e8acd read_fd_message: distinguish prints of log message
When VM shutdown there will be an error message 'VHOST_CONFIG: recvmsg failed' printed.
The return value of recvmsg will be 0 when the peer has performed an orderly shutdown,
or -1 if an error occurred. So adding logs to distinguish these two different situations
to avoid confusing and to hint accurately.

Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>
Change-Id: Ia4b806a11d3c6ddf076c61d1caad4fa7b16fb9b5
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2557
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-05-25 09:08:00 +00:00
..
fd_man.c make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
fd_man.h make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
rte_vhost.h vhost: make SPDK internal vhost library can work compatible with live recovery 2020-01-22 13:54:19 +00:00
socket.c read_fd_message: distinguish prints of log message 2020-05-25 09:08:00 +00:00
vhost_user.c make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
vhost_user.h make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
vhost.c vhost: make SPDK internal vhost library can work compatible with live recovery 2020-01-22 13:54:19 +00:00
vhost.h make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00