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-4.0-testing] iommu: Gracefully fail to initialise i

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] iommu: Gracefully fail to initialise iommu on generic x86 platforms.
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 May 2010 23:20:28 -0700
Delivery-date: Fri, 21 May 2010 23:21:03 -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 1274506898 -3600
# Node ID c45badecc05cbf2a6b8b40f19e0edc3575b7b779
# Parent  89616846ff4cbe77b1ea2e71ebc05812f7d4f900
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 89616846ff4c -r c45badecc05c xen/include/asm-x86/hvm/iommu.h
--- a/xen/include/asm-x86/hvm/iommu.h   Sat May 22 06:40:57 2010 +0100
+++ b/xen/include/asm-x86/hvm/iommu.h   Sat May 22 06:41: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 const 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-4.0-testing] iommu: Gracefully fail to initialise iommu on generic x86 platforms., Xen patchbot-4.0-testing <=