mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
passthrough: prevent non-HVM access to HVM-only data
Spotted this oversight in c/s 23144:37c4f7d492a4. Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
1 parent
9b130249ea
commit
8d247c677a
1 file changed
+1
-1
@@ -246,7 +246,7 @@ static void pci_clean_dpci_irqs(struct domain *d)
|
||||
if ( !iommu_enabled )
|
||||
return;
|
||||
|
||||
if ( !need_iommu(d) )
|
||||
if ( !is_hvm_domain(d) || !need_iommu(d) )
|
||||
return;
|
||||
|
||||
spin_lock(&d->event_lock);
|
||||
|
||||