Linus has not yet released kernel 3.1-rc1, but when he does, the patch below will be needed to build the kernel modules for VB. The patch is needed because the include file <asm/amd_iommu.h> has been renamed and moved to <linux/amd-iommu.h>.

This material is released under the MIT license.

Larry

===============================================

Index: vboxhost/vboxpci/linux/VBoxPci-linux.c
===================================================================
--- vboxhost.orig/vboxpci/linux/VBoxPci-linux.c
+++ vboxhost/vboxpci/linux/VBoxPci-linux.c
@@ -35,7 +35,11 @@
 #ifdef VBOX_WITH_IOMMU
 #include <linux/dmar.h>
 #include <linux/intel-iommu.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0)
 #include <asm/amd_iommu.h>
+#else
+#include <linux/amd-iommu.h>
+#endif
 #endif




_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to