To detect ACS, check if there are iommu groups in sysfs, more than one, in /sys/bus/iommu_groups for KVM. Xen should expose it too, but I haven't tested that in a while.
Generally Xen should refuse redirecting devices that do not share an iommu group to different VMs in forced iommu mode. KVM definitely does unless you override the check with a kernel boot parameter. R. -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/CAAmECqTC7Cypa-_xOA6J611QV0JXnjzDV2QfqfQZ_c8OL8EEoQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
