Anthony Liguori wrote:
I think the current VT-d code needs some reworking.

We should build the table as the shadow page table gets built. We should suppress iotlb flushes unless the table is actually being updated.


We can't, since we need the iommu tables populated before we issue any dma.

Perhaps we want something like MAP_POPULATE for shadow, which would then affect the iommu tables. Userspace would then do:

mlock()
... set up device assignment
ioctl(..., KVM_POPULATE)


--
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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to