[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] vtd: Tiny cleanups.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1218012050 -3600
# Node ID 17e58d3331fed02f2d8fa0a5ba160cfa13e0c1aa
# Parent  75cbde73d6ea900201fe6aab601c5dfff73c9814
vtd: Tiny cleanups.
Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
 xen/drivers/passthrough/vtd/iommu.c |    6 ++++--
 xen/include/xen/iommu.h             |    1 -
 2 files changed, 4 insertions(+), 3 deletions(-)

diff -r 75cbde73d6ea -r 17e58d3331fe xen/drivers/passthrough/vtd/iommu.c
--- a/xen/drivers/passthrough/vtd/iommu.c       Wed Aug 06 09:38:43 2008 +0100
+++ b/xen/drivers/passthrough/vtd/iommu.c       Wed Aug 06 09:40:50 2008 +0100
@@ -1270,13 +1270,15 @@ static int domain_context_mapping(struct
         ob = bus; odf = devfn;
         if ( !find_pcie_endpoint(&bus, &devfn, &secbus) )
         {
-            gdprintk(XENLOG_WARNING VTDPREFIX, 
"domain_context_mapping:invalid");
+            gdprintk(XENLOG_WARNING VTDPREFIX,
+                     "domain_context_mapping:invalid\n");
             break;
         }
 
         if ( ob != bus || odf != devfn )
             gdprintk(XENLOG_INFO VTDPREFIX,
-                     "domain_context_mapping:map:  bdf = %x:%x.%x -> 
%x:%x.%x\n",
+                     "domain_context_mapping:map:  "
+                     "bdf = %x:%x.%x -> %x:%x.%x\n",
                      ob, PCI_SLOT(odf), PCI_FUNC(odf),
                      bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
 
diff -r 75cbde73d6ea -r 17e58d3331fe xen/include/xen/iommu.h
--- a/xen/include/xen/iommu.h   Wed Aug 06 09:38:43 2008 +0100
+++ b/xen/include/xen/iommu.h   Wed Aug 06 09:40:50 2008 +0100
@@ -33,7 +33,6 @@ extern int force_iommu;
 extern int force_iommu;
 
 #define domain_hvm_iommu(d)     (&d->arch.hvm_domain.hvm_iommu)
-#define domain_vmx_iommu(d)     (&d->arch.hvm_domain.hvm_iommu.vmx_iommu)
 
 #define MAX_IOMMUS 32
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.