On 06/02/2010 08:46 PM, Chris Wright wrote:
The BIND API expects a new iommu object. Are there other uses for this object?
Both kvm and vhost use similar memory maps, so they could use the new object (without invoking the iommu unless they want dma).
Tom's current vfio driver exposes a dma mapping interface, would the iommu object expose one as well? Current interface is device specific DMA interface for host device drivers typically mapping in-flight dma buffers, and IOMMU specific interface for assigned devices typically mapping entire virtual address space.
A per-request mapping sounds like a device API since it would only affect that device (whereas the address space API affects multiple devices).
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html