> From: Aviv B.D > Sent: Monday, November 28, 2016 11:52 PM > > From: "Aviv Ben-David" <bd.a...@gmail.com> > > * Advertize Cache Mode capability in iommu cap register. > This capability is controlled by "cache-mode" property of intel-iommu > device. > To enable this option call QEMU with "-device intel-iommu,cache-mode=true". > > * On page cache invalidation in intel vIOMMU, check if the domain belong to > registered notifier, and notify accordingly. > > Currently this patch still doesn't enabling VFIO devices support with vIOMMU > present. Current problems: > * vfio_iommu_map_notify is not aware about memory range belong to specific > VFIOGuestIOMMU. > * intel_iommu's replay op is not implemented yet (May come in different patch > set). > The replay function is required for hotplug vfio device and to move devices > between existing domains. >
Thanks Aviv for your great work! Extending vIOMMU to support VFIO devices is also an important feature for Intel. We'd like to contribute and collaborate with you in this area to make it fully functional. My colleague (Tianyu Lan) will chime in later with his thoughts. Please don't hesitate sharing your TODO list so we can work together to move forward. My another colleague (Yi Liu) is also working on SVM virtualization in the meantime with draft design already sent out. There'll be more API changes built on top of the notification framework being worked on here, which we can discuss later when your work is stabilized. :-) Thanks Kevin