[arch-commits] Commit in virtualbox/trunk (008-vbox-guest-linux-4-7.patch PKGBUILD)

Christian Hesse eworm at archlinux.org
Mon Aug 15 10:55:54 UTC 2016


    Date: Monday, August 15, 2016 @ 10:55:54
  Author: eworm
Revision: 186780

upgpkg: virtualbox 5.1.2-3

fix kernel panic with guest modules on linux 4.7 (FS#50382)

Added:
  virtualbox/trunk/008-vbox-guest-linux-4-7.patch
Modified:
  virtualbox/trunk/PKGBUILD

--------------------------------+
 008-vbox-guest-linux-4-7.patch |   15 +++++++++++++++
 PKGBUILD                       |    6 ++++--
 2 files changed, 19 insertions(+), 2 deletions(-)

Added: 008-vbox-guest-linux-4-7.patch
===================================================================
--- 008-vbox-guest-linux-4-7.patch	                        (rev 0)
+++ 008-vbox-guest-linux-4-7.patch	2016-08-15 10:55:54 UTC (rev 186780)
@@ -0,0 +1,15 @@
+diff --git a/src/VBox/Additions/linux/drm/vbox_ttm.c b/src/VBox/Additions/linux/drm/vbox_ttm.c
+index bcce2d2..40e09d7 100644
+--- a/src/VBox/Additions/linux/drm/vbox_ttm.c
++++ b/src/VBox/Additions/linux/drm/vbox_ttm.c
+@@ -274,6 +274,10 @@ struct ttm_bo_driver vbox_bo_driver = {
+     .verify_access = vbox_bo_verify_access,
+     .io_mem_reserve = &vbox_ttm_io_mem_reserve,
+     .io_mem_free = &vbox_ttm_io_mem_free,
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
++    .lru_tail = &ttm_bo_default_lru_tail,
++    .swap_lru_tail = &ttm_bo_default_swap_lru_tail,
++#endif
+ };
+ 
+ int vbox_mm_init(struct vbox_private *vbox)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-15 10:48:48 UTC (rev 186779)
+++ PKGBUILD	2016-08-15 10:55:54 UTC (rev 186780)
@@ -11,7 +11,7 @@
          'virtualbox-guest-utils-nox'
          'virtualbox-ext-vnc')
 pkgver=5.1.2
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url='http://virtualbox.org'
 license=('GPL' 'custom')
@@ -69,6 +69,7 @@
         '005-gsoap-build.patch'
         '006-rdesktop-vrdp-keymap-path.patch'
         '007-python2-path.patch'
+        '008-vbox-guest-linux-4-7.patch'
         )
 md5sums=('aff1647170dd92914cddfbd0254b9773'
          'a19774e8c56f2c4d12c528992525c444'
@@ -86,7 +87,8 @@
          '9e49bbaa2192b141c27ee43cef8cbab7'
          'ecfd13297d7753ebe7b8763ca5b792d9'
          'd82a6f19be739341ed7f1cf4ee8070ca'
-         '188ea65918309f737ce28216c2b07c3b')
+         '188ea65918309f737ce28216c2b07c3b'
+         '2b0460e9378f45cc40b3cae14d64439e')
 
 prepare() {
     cd "VirtualBox-$pkgver"



More information about the arch-commits mailing list