pt: prevent non-HVM access to HVM-only data
PATCH 1/1 pt: prevent non-HVM access to HVM-only data
Spotted this oversight in c/s 23144:37c4f7d492a4.
Signed-off-by Jan Beulich <[email protected]>
xen/drivers/passthrough/pci.c +1 -1
@@ -246,7 +246,7 @@ static void pci_clean_dpci_irqs(struct dif ( !iommu_enabled )return ; -if ( !need_iommu (d) ) +if ( !is_hvm_domain (d) || !need_iommu (d) )return ;spin_lock (&d->event_lock);
Spotted this oversight in c/s 23144:37c4f7d492a4.
Signed-off-by Jan Beulich <[email protected]>
xen/drivers/passthrough/pci.c +1 -1
@@ -246,7 +246,7 @@ static void pci_clean_dpci_irqs(struct dif ( !iommu_enabled )return ; -if ( !need_iommu (d) ) +if ( !is_hvm_domain (d) || !need_iommu (d) )return ;spin_lock (&d->event_lock);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel