Re: Changing kernel API / Breaking VirtualBox - update criteria violation?

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

 



Genes MailLists wrote:
   For those having trouble - one pragmatic way is just to download the
f16 3.1.x source rpm and rebuild it on F15 - VB will now work fine.

You don't need to do that. Just use my attached patch.

(Only use the patch on F15 systems with F15 kernels.)
--- /usr/share/virtualbox/src/vboxhost/vboxpci/linux/VBoxPci-linux.c.orig	2011-08-09 01:30:24.000000000 -0500
+++ /usr/share/virtualbox/src/vboxhost/vboxpci/linux/VBoxPci-linux.c	2011-11-22 11:46:55.231412945 -0600
@@ -35,11 +35,7 @@
 #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
 
 
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux