diff options
author | Jason Wang <jasowang@redhat.com> | 2025-09-24 15:00:45 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-01 07:24:55 -0400 |
commit | 1c14b0e4ba988381e362ad8a9651eff0b21bd47f (patch) | |
tree | 992c7e2615ff3ebf0c537b3be34350c0f14ee402 /tools/docs/lib/parse_data_structs.py | |
parent | 0d16cc439f36355d04b17ac45c3001d90969aa44 (diff) |
vduse: switch to use virtio map API instead of DMA API
Lacking the support of device specific mapping supported in virtio,
VDUSE must trick the DMA API in order to make virtio-vdpa transport
work. This is done by advertising vDPA device as dma device with a
VDUSE specific dma_ops even if it doesn't do DMA at all.
This will be fixed by this patch. Thanks to the new mapping operations
support by virtio and vDPA. VDUSE can simply switch to advertise its
specific mappings operations to virtio via virtio-vdpa then DMA API is
not needed for VDUSE any more and iova domain could be used as the
mapping token instead.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20250924070045.10361-3-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions