diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2023-06-02 16:38:54 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-06-26 09:50:00 -0400 |
commit | babf8b87127ae809b31b3c0a117dcbc91aaf9aba (patch) | |
tree | 99952f284e1926f28563b577d29860eb1581bd6f /configure | |
parent | 915bf6ccd7a5c9b6cbea7a72f153597d1b98834f (diff) |
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.
The mmap call will always return a page aligned address, so removing the
qemu_memalign call. Keeping the ROUND_UP for the size as we still need
to DMA-map them in full.
Not applying fixes tag as it never worked with va devices.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230602143854.1879091-4-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions