mbox series

[0/2] Trace skipped memory sections at vdpa memory listener

Message ID 20240215103616.330518-1-eperezma@redhat.com (mailing list archive)
Headers show
Series Trace skipped memory sections at vdpa memory listener | expand

Message

Eugenio Perez Martin Feb. 15, 2024, 10:36 a.m. UTC
Some memory regions are not being skipped in vhost_vdpa_listener_region_del,
but they are skipped in vhost_vdpa_listener_region_add, or vice versa.  The
vhost-vdpa code expects all parts to maintain their properties, so we're adding
a trace to help with debugging when any part is skipped.

Eugenio PĂ©rez (2):
  vdpa: stash memory region properties in vars
  vdpa: trace skipped memory sections

 hw/virtio/trace-events |  1 +
 hw/virtio/vhost-vdpa.c | 17 +++++++++++------
 2 files changed, 12 insertions(+), 6 deletions(-)