From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH] pt: prevent non-HVM access to HVM-only data Date: Fri, 08 Apr 2011 16:47:12 +0100 Message-ID: <4D9F4A20020000780003AA73@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part84A85B10.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part84A85B10.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Spotted this oversight in c/s 23144:37c4f7d492a4. Signed-off-by: Jan Beulich --- 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; =20 - if ( !need_iommu(d) ) + if ( !is_hvm_domain(d) || !need_iommu(d) ) return; =20 spin_lock(&d->event_lock); --=__Part84A85B10.0__= Content-Type: text/plain; name="x86-split-fix-23144.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-split-fix-23144.patch" Spotted this oversight in c/s 23144:37c4f7d492a4.=0A=0ASigned-off-by: Jan = Beulich =0A=0A--- a/xen/drivers/passthrough/pci.c=0A++= + b/xen/drivers/passthrough/pci.c=0A@@ -246,7 +246,7 @@ static void = pci_clean_dpci_irqs(struct d=0A if ( !iommu_enabled )=0A = return;=0A =0A- if ( !need_iommu(d) )=0A+ if ( !is_hvm_domain(d) || = !need_iommu(d) )=0A return;=0A =0A spin_lock(&d->event_lock);= =0A --=__Part84A85B10.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part84A85B10.0__=--