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

From: David Woodhouse
Date: Thu Apr 03 2025 - 03:55:08 EST


On Thu, 2025-04-03 at 03:34 -0400, Michael S. Tsirkin wrote:
>
> Indeed I personally do not exactly get why implement a virtual system
> without an IOMMU when virtio-iommu is available.
>
> I have a feeling it's about lack of windows drivers for virtio-iommu
> at this point.

And a pKVM (etc.) implementation of virtio-iommu which would allow the
*trusted* part of the hypervisor to know which guest memory should be
shared with the VMM implementing the virtio device models?

You'd also end up in a situation where you have a virtio-iommu for some
devices, and a real two-stage IOMMU (e.g. SMMU or AMD's vIOMMU) for
other devices. Are guest operating systems going to cope well with
that? Do the available discovery mechanisms for all the relevant IOMMUs
even *allow* for that to be expressed?

Attachment: smime.p7s
Description: S/MIME cryptographic signature