1
0
forked from pool/virtualbox

Accepting request 597873 from Virtualization

- 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 

- Add file "fixes_for_4.17.patch" to follow API changes in kernel 4.17.

OBS-URL: https://build.opensuse.org/request/show/597873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=160
This commit is contained in:
Dominique Leuenberger 2018-04-19 13:21:17 +00:00 committed by Git OBS Bridge
commit 63d8e90ec8
6 changed files with 63 additions and 6 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ac2b153528860547be427945351c6ecfa5de71057b8d88424198a6d54576d41
size 4435486
oid sha256:92a0048f70ab8504f3fc11db8615b44205faabe259ccd2dcb1a034e42d096c6e
size 4438609

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71ff33fc6247114b58809e274d5fd71fcc65081a412494aa62f62f3efd412244
size 83379852

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f750ceea200e632618428916824613f5327f427c71762a048564d5841ba868a
size 83297131

31
fixes_for_4.17.patch Normal file
View File

@ -0,0 +1,31 @@
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 <Larry.Finger@lwfinger.net>
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)

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Apr 18 15:56:20 UTC 2018 - Larry.Finger@lwfinger.net
- 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 - Larry.Finger@lwfinger.net
- Add file "fixes_for_4.17.patch" to follow API changes in kernel 4.17.
-------------------------------------------------------------------
Thu Mar 22 19:32:44 UTC 2018 - Larry.Finger@lwfinger.net

View File

@ -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 @@ Patch120: fixes_for_python.patch
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 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
# The patch for kernel 4.16 interferes with Leap 15 fixes
%patch122 -p1
%endif
%patch123 -p1
#copy user manual
cp %{SOURCE1} UserManual.pdf