projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b13024
)
passthrough: prevent non-HVM access to HVM-only data
author
Jan Beulich
<jbeulich@novell.com>
Tue, 12 Apr 2011 12:27:27 +0000
(13:27 +0100)
committer
Jan Beulich
<jbeulich@novell.com>
Tue, 12 Apr 2011 12:27:27 +0000
(13:27 +0100)
Spotted this oversight in c/s 23144:
37c4f7d492a4
.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/drivers/passthrough/pci.c
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/pci.c
b/xen/drivers/passthrough/pci.c
index 36cf91cf3b468ed9358c6ac821fde93b719707c4..e30cd950a399749febd91d56c025338859ae6aa2 100644
(file)
--- a/
xen/drivers/passthrough/pci.c
+++ b/
xen/drivers/passthrough/pci.c
@@
-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);