vdpa: map shadow vrings with MAP_SHARED
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v11 patch 0 repliesSuperseded
Changes in v2 from the cover letter
* Use PROT_READ|PROT_WRITE instead of O_RDWR. The latter does not work for mmap.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vdpa: do not block migration if device has cvq and x-svq=onnet/ | +7 | 1 reply | |
| 2/3 | vdpa: reorder vhost_vdpa_net_cvq_cmd_page_len functionnet/ | +16 | 0 replies | |
| 3/3 | vdpa: map shadow vrings with MAP_SHAREDhw/ net/ | +17 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Lei Yang |
|---|---|---|
| 1/3 | T-b | |
| 2/3 | R-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] vdpa: map shadow vrings with MAP_SHARED
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.
v2:
* Use PROT_READ|PROT_WRITE instead of O_RDWR. The latter does not work for mmap.
Eugenio Pérez (3):
vdpa: do not block migration if device has cvq and x-svq=on
vdpa: reorder vhost_vdpa_net_cvq_cmd_page_len function
vdpa: map shadow vrings with MAP_SHARED
hw/virtio/vhost-shadow-virtqueue.c | 18 ++++----- net/vhost-vdpa.c | 59 ++++++++++++++++-------------- 2 files changed, 40 insertions(+), 37 deletions(-)
Signature · 1 line
2.31.1