Re: [RFC PATCH 1/3] content: Add VIRTIO_F_SWIOTLB to negotiate use of SWIOTLB bounce buffers

From: Christoph Hellwig
Date: Thu Apr 03 2025 - 03:45:22 EST


On Thu, Apr 03, 2025 at 03:43:31AM -0400, Michael S. Tsirkin wrote:
> Hm. This is what this proposal does, indeed. Can be changed though -
> since all accesses are now within the SWIOTLB, they can be treated
> as offsets instead.

Yes, marking them as offsets into the BAR (including potentially
picking a specific BAR or region if there is more than one) is the
right interface and implemented by various hardware that way.