[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] iommu: Gracefully fail to initialise iommu on generic x86 platforms.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |