Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-04-19 15:21:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and      /work/SRC/openSUSE:Factory/.virtualbox.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virtualbox"

Thu Apr 19 15:21:17 2018 rev:160 rq:597873 version:5.2.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes    2018-03-24 
16:08:13.406976663 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes       
2018-04-19 15:21:21.726851585 +0200
@@ -1,0 +2,23 @@
+Wed Apr 18 15:56:20 UTC 2018 - [email protected]
+
+- Version bump to 5.2.10 (released April 17 2018 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+    Vulnerabilities CVE-2018-0739, CVE-2018-2830, CVE-2018-2831, 
CVE-2018-2835, CVE-2018-2836, CVE-2018-2837,
+       CVE-2018-2842, CVE-2018-2843, CVE-2018-2844, CVE-2018-2845, and 
CVE-2018-2860
+    VMM: Fixed missing NULL pointer check in MMIO code
+    Storage: fixed having multiple NVMe controllers with ICH9 enabled (5.2.0 
regression)
+    Network: fixed wireless detection regression when bridging to adapters 
with unbound IP protocols (bug #17543)
+    Audio: Fixed interrupt storm in FreeBSD guests with HDA (bug #17219)
+    Keyboard: Introduced a small delay to fix old software which expects to be 
able to read an incoming scan code more than once (bug #17592)
+    NAT: Handle nameserver 0.0.0.0 which is a valid setting (bug #17584)
+    BIOS: INT 15h/87h service must disable A20 gate when done
+    Linux Guest Additions: fix a hang starting KDE Plasma 
+
+-------------------------------------------------------------------
+Tue Apr 17 12:57:03 UTC 2018 - [email protected]
+
+- Add file "fixes_for_4.17.patch" to follow API changes in kernel 4.17.
+
+-------------------------------------------------------------------

Old:
----
  VirtualBox-5.2.8-patched.tar.bz2

New:
----
  VirtualBox-5.2.10-patched.tar.bz2
  fixes_for_4.17.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virtualbox.spec ++++++
--- /var/tmp/diff_new_pack.CB5yKI/_old  2018-04-19 15:21:24.002759998 +0200
+++ /var/tmp/diff_new_pack.CB5yKI/_new  2018-04-19 15:21:24.006759837 +0200
@@ -28,7 +28,7 @@
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:           virtualbox
 # ********* If the VB version exceeds 5.2.x, notify the libvirt maintainer!!
-Version:        5.2.8
+Version:        5.2.10
 Release:        0
 Summary:        VirtualBox is an Emulator
 License:        GPL-2.0-or-later
@@ -117,6 +117,8 @@
 Patch121:       remove_vbox_video_build.patch
 # Fix build for kernel 4.16
 Patch122:       fixes_for_4.16.patch
+# Fix build for kernel 4.17
+Patch123:       fixes_for_4.17.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -413,6 +415,7 @@
 # The patch for kernel 4.16 interferes with Leap 15 fixes
 %patch122 -p1
 %endif
+%patch123 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++++++ UserManual.pdf ++++++
(binary differes)

++++++ VirtualBox-5.2.8-patched.tar.bz2 -> VirtualBox-5.2.10-patched.tar.bz2 
++++++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.2.8-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.2.10-patched.tar.bz2 
differ: char 11, line 1

++++++ fixes_for_4.17.patch ++++++
In kernel 4.17, pci_get_bus_and_slot() has been removed in favor of
pci_get_domain_bus_and_slot(). It appears that VirtualBox only uses
domain number 0, thus pci_get_domain_bus_and_slot(0, bus, devfn)
is a suitable replacement for pci_get_bus_and_slot(bus, devfn).

The resulting code compiles; however, I do not use PCI passthru, which
I think means that I have not actually tested the code.

This patch released under a combined MIT/GPLv2 license.

Signed-off-by: Larry Finger <[email protected]>

Index: VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
===================================================================
--- VirtualBox-5.2.8.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+++ VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
@@ -89,7 +89,14 @@ MODULE_VERSION(VBOX_VERSION_STRING " r"
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
 # define PCI_DEV_GET(v,d,p)            pci_get_device(v,d,p)
 # define PCI_DEV_PUT(x)                pci_dev_put(x)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)
+/* assume the domain number to be zero - exactly the same assumption of
+ * pci_get_bus_and_slot()
+ */
+# define PCI_DEV_GET_SLOT(bus, devfn)  pci_get_domain_bus_and_slot(0, bus, 
devfn)
+#else
 # define PCI_DEV_GET_SLOT(bus, devfn)  pci_get_bus_and_slot(bus, devfn)
+#endif
 #else
 # define PCI_DEV_GET(v,d,p)            pci_find_device(v,d,p)
 # define PCI_DEV_PUT(x)                do { } while (0)


Reply via email to