1
0
forked from pool/virtualbox
virtualbox/fixes_for_5.4.patch

145 lines
6.0 KiB
Diff
Raw Normal View History

Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
Index: VirtualBox-6.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
===================================================================
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
--- VirtualBox-6.0.14.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+++ VirtualBox-6.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
@@ -924,8 +924,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
for (i = 0; i < skb_shinfo(pBuf)->nr_frags; i++)
{
skb_frag_t *pFrag = &skb_shinfo(pBuf)->frags[i];
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || OPENSUSE_152
+ pSG->aSegs[iSeg].cb = pFrag->bv_len;
+ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
+#else
pSG->aSegs[iSeg].cb = pFrag->size;
pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
+#endif
Log6((" %p", pSG->aSegs[iSeg].pv));
pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
Assert(iSeg <= pSG->cSegsAlloc);
@@ -940,8 +945,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
for (i = 0; i < skb_shinfo(pFragBuf)->nr_frags; i++)
{
skb_frag_t *pFrag = &skb_shinfo(pFragBuf)->frags[i];
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || OPENSUSE_152
+ pSG->aSegs[iSeg].cb = pFrag->bv_len;
+ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
+#else
pSG->aSegs[iSeg].cb = pFrag->size;
pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
+#endif
Log6((" %p", pSG->aSegs[iSeg].pv));
pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
Assert(iSeg <= pSG->cSegsAlloc);
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
Index: VirtualBox-6.0.14/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
===================================================================
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
--- VirtualBox-6.0.14.orig/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
+++ VirtualBox-6.0.14/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
@@ -443,9 +443,6 @@ RTR0DECL(void *) RTMemContAlloc(PRTCCPHY
}
SetPageReserved(&paPages[iPage]);
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */
- MY_SET_PAGES_EXEC(&paPages[iPage], 1);
-#endif
}
*pPhys = page_to_phys(paPages);
pvRet = phys_to_virt(page_to_phys(paPages));
@@ -491,9 +488,6 @@ RTR0DECL(void) RTMemContFree(void *pv, s
for (iPage = 0; iPage < cPages; iPage++)
{
ClearPageReserved(&paPages[iPage]);
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */
- MY_SET_PAGES_NOEXEC(&paPages[iPage], 1);
-#endif
}
__free_pages(paPages, cOrder);
IPRT_LINUX_RESTORE_EFL_AC();
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
Index: VirtualBox-6.0.14/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
===================================================================
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
--- VirtualBox-6.0.14.orig/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
+++ VirtualBox-6.0.14/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
@@ -36,6 +36,9 @@
#include <iprt/errcore.h>
#include "internal/thread.h"
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
+#include <uapi/linux/sched/types.h>
+#endif
RTDECL(RTTHREAD) RTThreadSelf(void)
{
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
Index: VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_drv.c
===================================================================
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
--- VirtualBox-6.0.14.orig/src/VBox/Additions/linux/drm/vbox_drv.c
+++ VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_drv.c
@@ -271,11 +271,13 @@ static void vbox_master_drop(struct drm_
static struct drm_driver driver = {
.driver_features =
- DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ |
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
+ DRIVER_PRIME |
+#endif
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) && !defined(RHEL_81)
DRIVER_IRQ_SHARED |
#endif
- DRIVER_PRIME,
+ DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ,
.dev_priv_size = 0,
.load = vbox_driver_load,
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
Index: VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_main.c
===================================================================
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
--- VirtualBox-6.0.14.orig/src/VBox/Additions/linux/drm/vbox_main.c
+++ VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_main.c
@@ -619,8 +619,12 @@ static inline u64 vbox_bo_mmap_offset(st
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 0) && !defined(RHEL_70)
return bo->bo.addr_space_offset;
#else
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
+ return drm_vma_node_offset_addr(&bo->bo.base.vma_node);
+#else
return drm_vma_node_offset_addr(&bo->bo.vma_node);
#endif
+#endif
}
int
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
Index: VirtualBox-6.0.14/include/iprt/cdefs.h
===================================================================
Accepting request 741636 from home:lwfinger:branches:Virtualization - Add directory %{buildroot}%{_datadir}/metainfo for metafile "virtualbox.appdata.xml - Version bumk to 6.0.14 (released October 15 2019 by Oracle) This is a maintenance release. The following items were fixed and/or added: Virtualization core: fixed an invalid-guest state guru meditation in some rare circumstances on Intel hosts Virtualization core: some fixes for systems with lots of processors Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more compatibility for guests running ALSA setups with the AC'97 emulation USB: made device capturing for passthrough more accurate and reliable on Windows host Network: fixed potential issue with interrupt signalling for network adapters in UEFI guests 3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics adapter (bugs #18562, #18956) 3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics adapter (bug #18638) macOS host: fix crash of GUI VM process which showed up frequently with 10.15 Catalina (bug #18990) Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911) Linux host: improve python version detection during rpm package creation, can change package dependencies and fix some installation problems Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared folders (bug #18805) Linux guests: fix problem with shared folder unmounting in service script, thank you Denis Ryndine (bug #18853) Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 7.7 and Red Hat 8.1 Beta (bug #18917) Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 CVE-2019-3021 CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 CVE-2019-1547 CVE-2019-2926 (bsc#1154166) Removed file "fixes_for_5.3.patch" - fixes included upstream. OBS-URL: https://build.opensuse.org/request/show/741636 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=514
2019-10-22 03:29:29 +02:00
--- VirtualBox-6.0.14.orig/include/iprt/cdefs.h
+++ VirtualBox-6.0.14/include/iprt/cdefs.h
@@ -1166,14 +1166,15 @@
* Tell the compiler that we're falling through to the next case in a switch.
* @sa RT_FALL_THRU */
#if RT_GNUC_PREREQ(7, 0)
-# define RT_FALL_THROUGH() __attribute__((fallthrough))
+# define FALL_THROUGH __attribute__((__fallthrough__))
#else
-# define RT_FALL_THROUGH() (void)0
+# define FALL_THROUGH (void)0
#endif
/** @def RT_FALL_THRU
* Tell the compiler that we're falling thru to the next case in a switch.
* @sa RT_FALL_THROUGH */
-#define RT_FALL_THRU() RT_FALL_THROUGH()
+#define RT_FALL_THRU() FALL_THROUGH
+#define RT_FALL_THROUGH() FALL_THROUGH
/** @def RT_IPRT_FORMAT_ATTR
Index: VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_drv.h
===================================================================
--- VirtualBox-6.0.14.orig/src/VBox/Additions/linux/drm/vbox_drv.h
+++ VirtualBox-6.0.14/src/VBox/Additions/linux/drm/vbox_drv.h
@@ -86,6 +86,9 @@
# if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 1
# define OPENSUSE_151
# endif
+# if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 2
+# define OPENSUSE_152
+# endif
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) || defined(RHEL_71)