mbox

[v3,0/9] vhost: improve logging

Message ID 20220126095510.389566-1-maxime.coquelin@redhat.com (mailing list archive)
Headers

Message

Maxime Coquelin Jan. 26, 2022, 9:55 a.m. UTC
  This series aims at easing Vhost logs analysis, by
prepending the Vhost-user socket path to all logs and to
remove multi-line comments. Doing so, filtering Vhost-user
ports logs is much easier.

Changes in v3:
==============
- Fix various typos reported (Chenbo)
- Revert one multi-line comment removal (Chenbo)

Changes in v2:
==============
- Add missing socket paths (David)
- avoid identical logs in iotlb code (David)
- Use data log type when used in datapath (David)

Maxime Coquelin (9):
  vhost: improve IOTLB logs
  vhost: improve vDPA registration failure log
  vhost: improve Vhost layer logs
  vhost: improve Vhost-user layer logs
  vhost: improve socket layer logs
  vhost: improve Virtio-net layer logs
  vhost: remove multi-line logs
  vhost: differentiate IOTLB logs
  vhost: use proper logging type for data path

 lib/vhost/iotlb.c      |  30 +-
 lib/vhost/iotlb.h      |  10 +-
 lib/vhost/socket.c     | 148 ++++-----
 lib/vhost/vdpa.c       |   4 +-
 lib/vhost/vhost.c      | 108 ++++---
 lib/vhost/vhost_user.c | 678 ++++++++++++++++++++---------------------
 lib/vhost/vhost_user.h |   4 +-
 lib/vhost/virtio_net.c | 165 +++++-----
 8 files changed, 548 insertions(+), 599 deletions(-)