David Marchand 36c525a035 vhost: prefix logs with context
We recently improved the log messages in the vhost library, adding some
context that helps filtering for a given vhost-user device.
However, some parts of the code were missed, and some later code changes
broke this new convention (fixes were sent previous to this patch).

Change the VHOST_LOG_CONFIG/DATA helpers and always ask for a string
used as context. This should help limit regressions on this topic.

Most of the time, the context is the vhost-user device socket path.
For the rest when a vhost-user device can not be related, generic
names were chosen:
- "dma", for vhost-user async DMA operations,
- "device", for vhost-user device creation and lookup,
- "thread", for threads management,

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2022-07-01 15:49:49 +02:00
..
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2021-08-17 08:37:52 +02:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2022-02-22 13:10:39 +01:00
2022-06-21 16:46:56 +02:00
2022-06-23 16:32:00 +02:00
2022-06-21 20:04:49 +02:00
2022-02-22 14:47:49 +01:00
2022-06-24 14:50:34 +02:00
2022-06-01 11:15:37 +02:00
2022-06-24 14:50:34 +02:00
2022-02-22 14:47:49 +01:00
2022-06-23 13:38:09 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-24 14:51:09 +02:00
2022-06-01 15:04:34 +02:00
2022-02-22 13:10:39 +01:00
2022-06-24 14:50:34 +02:00
2022-02-22 13:10:39 +01:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:51:09 +02:00
2022-06-24 14:50:34 +02:00
2022-07-01 15:49:49 +02:00