]> git.proxmox.com Git - pve-common.git/commitdiff
SysFSTools: iommu_support: improve comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Nov 2018 10:17:44 +0000 (11:17 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Nov 2018 12:45:07 +0000 (13:45 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/SysFSTools.pm

index 4b23668538dca39293917e80e623f2a08f9cfbd0..c16e7d3720947c7b43684443c4c73650816fa9c2 100644 (file)
@@ -33,7 +33,7 @@ sub lspci {
 }
 
 sub check_iommu_support{
 }
 
 sub check_iommu_support{
-    # iommu support if there is anything in /sys/class/iommu besides . or ..
+    # we have IOMMU support if /sys/class/iommu/ is populated
     return PVE::Tools::dir_glob_regex('/sys/class/iommu/', "[^\.].*");
 }
 
     return PVE::Tools::dir_glob_regex('/sys/class/iommu/', "[^\.].*");
 }