vdpa: use vdpa shared for tracing
authorEugenio Pérez <eperezma@redhat.com>
Thu, 21 Dec 2023 17:43:14 +0000 (18:43 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 26 Dec 2023 09:51:07 +0000 (04:51 -0500)
commite36b9992fafe3a4f1e2a7819d4b3df171acaa960
treeda719918d4565f180be680f4223321f3060c5472
parenta6e823d40eb75110a8a1c6eee9650309412a5e9c
vdpa: use vdpa shared for tracing

By the end of this series dma_map and dma_unmap functions don't have the
vdpa device for tracing.  Movinge trace function to shared member one.
Print it also in the vdpa initialization so log reader can relate them.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20231221174322.3130442-6-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/trace-events
hw/virtio/vhost-vdpa.c