On Thu, Aug 27, 2015 at 08:04:19AM -0600, Jan Beulich wrote:
> Reported-by: Roger Pau Monné <roger....@citrix.com>
> Signed-off-by: Jan Beulich <jbeul...@suse.com>
> 

Release-acked-by: Wei Liu <wei.l...@citrix.com>

> --- a/xen/drivers/passthrough/iommu.c
> +++ b/xen/drivers/passthrough/iommu.c
> @@ -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?? <roger....@citrix.com>
> Signed-off-by: Jan Beulich <jbeul...@suse.com>
> 
> --- a/xen/drivers/passthrough/iommu.c
> +++ b/xen/drivers/passthrough/iommu.c
> @@ -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
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to