[PATCH v2 0/4] Vhost logs fixes and improvement
David Marchand
david.marchand at redhat.com
Fri Jul 1 09:55:07 CEST 2022
Here is a series that fixes log messages (with one regression being
fixed in patch 2) and changes the VHOST_LOG_* helpers to enforce that
vhost log messages will always have some context/prefix to help
debugging on setups with many vhost ports.
The first three patches are low risk and can probably be merged in
v22.07.
Changes since v1:
- fixed log formats in patch4,
--
David Marchand
David Marchand (4):
vhost: add some trailing newline in log messages
vhost: restore device information in log messages
vhost: improve some datapath log messages
vhost: prefix logs with context
lib/vhost/iotlb.c | 30 +-
lib/vhost/socket.c | 129 ++++-----
lib/vhost/vdpa.c | 4 +-
lib/vhost/vhost.c | 144 +++++-----
lib/vhost/vhost.h | 20 +-
lib/vhost/vhost_user.c | 639 +++++++++++++++++++++--------------------
lib/vhost/virtio_net.c | 258 +++++++++--------
7 files changed, 634 insertions(+), 590 deletions(-)
--
2.36.1
More information about the dev
mailing list