commit | 636d73da27e83ce4882f8823f79063bb37980961 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Wed Jun 12 18:09:08 2013 +0100 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Mon Jun 24 20:02:53 2013 +0100 |
tree | fd3824416e3d16191822ad22bd1cd564537479d1 | |
parent | 1899c111a535e43046b14ae13639747d9d2544d6 [diff] |
sfc: Improve test for IOMMU in use The device::iommu_group field may be set even if no IOMMU is in use. iommu_present() is still a better indicator, although it doesn't tell us whether *our* device is affected. Reported-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>