From: "Eugenio Pérez" <eperezma@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Eugenio Pérez" <eperezma@redhat.com>,
"Jason Wang" <jasowang@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Lei Yang" <leiyang@redhat.com>
Subject: [PATCH v2 0/3] vdpa: map shadow vrings with MAP_SHARED
Date: Fri, 2 Jun 2023 16:38:51 +0200 [thread overview]
Message-ID: <20230602143854.1879091-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.
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(-)
--
2.31.1
next reply other threads:[~2023-06-02 14:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-02 14:38 Eugenio Pérez [this message]
2023-06-02 14:38 ` [PATCH v2 1/3] vdpa: do not block migration if device has cvq and x-svq=on Eugenio Pérez
2023-06-02 17:27 ` Lei Yang
2023-06-02 14:38 ` [PATCH v2 2/3] vdpa: reorder vhost_vdpa_net_cvq_cmd_page_len function Eugenio Pérez
2023-06-02 14:38 ` [PATCH v2 3/3] 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=20230602143854.1879091-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).