IOMMU: skip domains without page tables when dumping
PATCH 1/1 IOMMU: skip domains without page tables when dumping
Reported-by Roger Pau Monné <[email protected]>
Signed-off-by Jan Beulich <[email protected]>
xen/drivers/passthrough/iommu.c +1 -1
@@ -411,7 +411,7 @@ static void iommu_dump_p2m_table(unsigne ops =iommu_get_ops ();for_each_domain (d) { -if (is_hardware_domain (d) ) +if (is_hardware_domain (d) ||need_iommu (d) <=0 )continue ;if (iommu_use_hap_pt (d) )
IOMMU: skip domains without page tables when dumping
Reported-by Roger Pau Monné <[email protected]>
Signed-off-by Jan Beulich <[email protected]>
xen/drivers/passthrough/iommu.c +1 -1
@@ -411,7 +411,7 @@ static void iommu_dump_p2m_table(unsigne ops =iommu_get_ops ();for_each_domain (d) { -if (is_hardware_domain (d) ) +if (is_hardware_domain (d) ||need_iommu (d) <=0 )continue ;if (iommu_use_hap_pt (d) )
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Thanks, this solves the problem.
El 27/08/15 a les 16.04, Jan Beulich ha escrit:
Quoted 2 lines
Reported-by Roger Pau Monné <[email protected]>Signed-off-by Jan Beulich <[email protected]>
Tested-by Roger Pau Monné <[email protected]>
Acked-by Roger Pau Monné <[email protected]>
xen/drivers/passthrough/iommu.c static void iommu_dump_p2m_table(unsigne · line 417
Quoted 13 lines
xen/drivers/passthrough/iommu.c +1
-1@@ -411,7 +411,7 @@ static void iommu_dump_p2m_table(unsigne ops =iommu_get_ops ();for_each_domain (d) { -if (is_hardware_domain (d) ) +if (is_hardware_domain (d) ||need_iommu (d) <=0 )continue ;if (iommu_use_hap_pt (d) )
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 3 lines · Jan Beulich
Reported-by Roger Pau Monné <[email protected]>Signed-off-by Jan Beulich <[email protected]>
Release-acked-by Wei Liu <[email protected]>
Quoted 30 lines
xen/drivers/passthrough/iommu.c +1
-1@@ -411,7 +411,7 @@ static void iommu_dump_p2m_table(unsigne ops =iommu_get_ops ();for_each_domain (d) { -if (is_hardware_domain (d) ) +if (is_hardware_domain (d) ||need_iommu (d) <=0 )continue ;if (iommu_use_hap_pt (d) )IOMMU: skip domains without page tables when dumping
Reported-by Roger Pau Monn?? <[email protected]>Signed-off-by Jan Beulich <[email protected]>xen/drivers/passthrough/iommu.c +1
-1@@ -411,7 +411,7 @@ static void iommu_dump_p2m_table(unsigne ops =iommu_get_ops ();for_each_domain (d) { -if (is_hardware_domain (d) ) +if (is_hardware_domain (d) ||need_iommu (d) <=0 )continue ;if (iommu_use_hap_pt (d) )