[PATCH 0/2] vdpa: map shadow vrings with MAP_SHARED

Eugenio Pérez posted 2 patches 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230602085321.1814165-1-eperezma@redhat.com
Maintainers: "Eugenio Pérez" <eperezma@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>
There is a newer version of this series
hw/virtio/vhost-shadow-virtqueue.c | 16 +++++-----
net/vhost-vdpa.c                   | 47 +++++++++++++++---------------
2 files changed, 30 insertions(+), 33 deletions(-)
[PATCH 0/2] vdpa: map shadow vrings with MAP_SHARED
Posted by Eugenio Pérez 11 months ago
The vdpa devices that use va addresses neeeds these maps shared.  Otherwise,
vhost_vdpa checks will refuse to accept the maps.

Discovered this issue while testing SVQ with vdpa sim, now defaulting to
use_va=on.

Eugenio Pérez (2):
  vdpa: reorder vhost_vdpa_net_cvq_cmd_page_len function
  vdpa: map shadow vrings with MAP_SHARED

 hw/virtio/vhost-shadow-virtqueue.c | 16 +++++-----
 net/vhost-vdpa.c                   | 47 +++++++++++++++---------------
 2 files changed, 30 insertions(+), 33 deletions(-)

-- 
2.31.1