WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.4-testing] iommu: Gracefully fail to initialise i

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] iommu: Gracefully fail to initialise iommu on generic x86 platforms.
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 May 2010 23:20:42 -0700
Delivery-date: Fri, 21 May 2010 23:21:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1274506958 -3600
# Node ID e655245aa1714984b64e0c22669cb00b4add81df
# Parent  a552edf3aadf19bb19b00b7c86e7bcb839ed16e4
iommu: Gracefully fail to initialise iommu on generic x86 platforms.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   21446:93410e5e4ad8
xen-unstable date:        Sat May 22 06:36:41 2010 +0100
---
 xen/include/asm-x86/hvm/iommu.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r a552edf3aadf -r e655245aa171 xen/include/asm-x86/hvm/iommu.h
--- a/xen/include/asm-x86/hvm/iommu.h   Wed May 19 20:52:31 2010 +0100
+++ b/xen/include/asm-x86/hvm/iommu.h   Sat May 22 06:42:38 2010 +0100
@@ -1,5 +1,7 @@
 #ifndef __ASM_X86_HVM_IOMMU_H__
 #define __ASM_X86_HVM_IOMMU_H__
+
+#include <xen/errno.h>
 
 struct iommu_ops;
 extern struct iommu_ops intel_iommu_ops;
@@ -31,7 +33,7 @@ static inline int iommu_hardware_setup(v
     case X86_VENDOR_AMD:
         return amd_iov_detect();
     default:
-        BUG();
+        return -ENODEV;
     }
 
     return 0;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] iommu: Gracefully fail to initialise iommu on generic x86 platforms., Xen patchbot-3.4-testing <=