vhost: improve vhost layer logs
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Wed, 26 Jan 2022 09:55:04 +0000 (10:55 +0100)
committerChenbo Xia <chenbo.xia@intel.com>
Thu, 27 Jan 2022 08:45:11 +0000 (09:45 +0100)
commitccf1ebd61129c4428e94b57a8217aebf99254b8c
tree3c3a94ea628b9ab7d1dd860a21b61394eafbccfe
parent843d8e3fde99314ff0061d1915d353f06de585bf
vhost: improve vhost layer logs

This patch prepends Vhost logs with the Vhost-user socket
path when available to ease filtering logs for a given port.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/vhost/vhost.c