On Tue, Jul 02, 2019 at 06:53:58PM -0700, Sai Praneeth Prakhya wrote: > Assume a use case where-in the priviliged user would want to use the device in > pass-through mode when the device is used for host but would want to switch to > dma protected mode when switching for VFIO in user space. Presently, this is > not > supported and hence add support to change default domain of a group > dynamically.
VFIO does it's own iommu magic with the device and moves the group out of the default domain, so that doesn't sound like a valid use-case. More valid would be something like putting a device into passthrough mode to improve performance, or do you have other valid use-cases in mind? Regards, Joerg _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu