* [PATCH] pt: prevent non-HVM access to HVM-only data
@ 2011-04-08 15:47 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2011-04-08 15:47 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
Spotted this oversight in c/s 23144:37c4f7d492a4.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- a/xen/drivers/passthrough/pci.c
+++ b/xen/drivers/passthrough/pci.c
@@ -246,7 +246,7 @@ static void pci_clean_dpci_irqs(struct d
if ( !iommu_enabled )
return;
- if ( !need_iommu(d) )
+ if ( !is_hvm_domain(d) || !need_iommu(d) )
return;
spin_lock(&d->event_lock);
[-- Attachment #2: x86-split-fix-23144.patch --]
[-- Type: text/plain, Size: 421 bytes --]
Spotted this oversight in c/s 23144:37c4f7d492a4.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- a/xen/drivers/passthrough/pci.c
+++ b/xen/drivers/passthrough/pci.c
@@ -246,7 +246,7 @@ static void pci_clean_dpci_irqs(struct d
if ( !iommu_enabled )
return;
- if ( !need_iommu(d) )
+ if ( !is_hvm_domain(d) || !need_iommu(d) )
return;
spin_lock(&d->event_lock);
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-08 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08 15:47 [PATCH] pt: prevent non-HVM access to HVM-only data Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).