[Ksummit-discuss] Short topic: virtio vs IOMMU
Joerg Roedel
joro at 8bytes.org
Mon Oct 26 05:04:50 UTC 2015
On Mon, Oct 26, 2015 at 01:48:02PM +0900, David Woodhouse wrote:
> It would be useful to have an emulated IOMMU, full stop. And yeah, it
> might actually make sense to *start* by using it for purely virtual
> devices, [...]
Sure, I think this is what qemu provides already, except for the virtio
devices (which are also emulated). I think it would be cool to have
virtio translated by the emulated iommu too (at least optional).
> [...] and then graduate to doing it for passthrough (which will
> finally mean we can stop having to pin *all* guest memory the moment we
> assign a device, and we only have to pin those pages which are
> referenced from the IOMMU page tables).
Good point, havn't thought of that yet. But getting rid of the excessive
pinning this way would be really great.
Joerg
More information about the Ksummit-discuss
mailing list