All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] vdpa: map shadow vrings with MAP_SHARED
@ 2023-06-02  8:53 Eugenio Pérez
  2023-06-02  8:53 ` [PATCH 1/2] vdpa: reorder vhost_vdpa_net_cvq_cmd_page_len function Eugenio Pérez
  2023-06-02  8:53 ` [PATCH 2/2] vdpa: map shadow vrings with MAP_SHARED Eugenio Pérez
  0 siblings, 2 replies; 4+ messages in thread
From: Eugenio Pérez @ 2023-06-02  8:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Lei Yang, Jason Wang, Michael S. Tsirkin, Eugenio Pérez

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-02  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02  8:53 [PATCH 0/2] vdpa: map shadow vrings with MAP_SHARED Eugenio Pérez
2023-06-02  8:53 ` [PATCH 1/2] vdpa: reorder vhost_vdpa_net_cvq_cmd_page_len function Eugenio Pérez
2023-06-02  9:25   ` Philippe Mathieu-Daudé
2023-06-02  8:53 ` [PATCH 2/2] vdpa: map shadow vrings with MAP_SHARED Eugenio Pérez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.