All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eugenio Pérez" <eperezma@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Lei Yang" <leiyang@redhat.com>,
	"Jason Wang" <jasowang@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Eugenio Pérez" <eperezma@redhat.com>
Subject: [PATCH 0/2] vdpa: map shadow vrings with MAP_SHARED
Date: Fri,  2 Jun 2023 10:53:19 +0200	[thread overview]
Message-ID: <20230602085321.1814165-1-eperezma@redhat.com> (raw)

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




             reply	other threads:[~2023-06-02  8:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-02  8:53 Eugenio Pérez [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230602085321.1814165-1-eperezma@redhat.com \
    --to=eperezma@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=leiyang@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.