nixpkgs/pkgs/applications/virtualization/virtualbox
Yarny0 0ad873b44b virtualbox: update patch linux-5.18 -> linux-5.19
Some history:

The linux kernel v5.18-rc contains the commit

> commit 6e8ec2552c7d13991148e551e3325a624d73fac6
> Author: Jason A. Donenfeld <Jason@zx2c4.com>
> Date:   2022-01-16 14:23:10 +0100
>
>     random: use computational hash for entropy extraction
> [...]

which modifies the kernels random number generator.

This change broke VirtualBox 6.1.34 in several ways:
It causes random crashes and filesystem corruption in the guest
(at least on some host CPU models).
More details can be found in the
corresponding ticket in the VirtualBox bug tracker:
https://www.virtualbox.org/ticket/20914

That ticket also contains a patch "vbox-linux-5.18.patch"
for VirtualBox that fixes the problem,
at least for kernels 5.18 and (hopefully) above.
This patch got added to nixpkgs' VirtualBox build recipe with
9c8132494f .

Meanwhile, the kernel patch got backported to LTS kernels.
As the VirtualBox patch contains several `#if RTLNX_VER_MIN(5,18,0)`
clauses to apply the fix,
it can't heal VirtualBox on LTS kernel versions.
The result is that VirtualBox is still broken if used
with linux kernels 5.10 and 5.15
(currenly the default kernel in nixpkgs).

Luckily, VirtualBox developers updated the patch
(now named "vbox-linux-5.19.patch") to not only fix the
problem for the upcoming 5.19 kernel, but also address
backport releases.

The commit at hand replaces "vbox-linux-5.18.patch"
with the new "vbox-linux-5.19.patch",
fixing VirtualBox for LTS kernel releases.
2022-07-04 22:15:03 +02:00
..
guest-additions linuxPackages.virtualboxGuestAdditions: properly mark platforms 2022-06-26 18:12:06 +00:00
default.nix virtualbox: update patch linux-5.18 -> linux-5.19 2022-07-04 22:15:03 +02:00
extpack.nix virtualbox: 6.1.30 -> 6.1.34 2022-05-30 19:32:49 +01:00
extra_symbols.patch virtualbox: 6.1.10 -> 6.1.14 2020-09-09 19:58:36 +08:00
ffreestanding.patch virtualbox: 6.1.30 -> 6.1.34 2022-05-30 19:32:49 +01:00
fix-audio-driver-loading.patch virtualbox: fix audio driver loading (#136048) 2021-09-16 14:11:38 +03:00
fix-configure-pkgconfig-qt.patch virtualbox: 6.1.22 -> 6.1.26 (#132223) 2021-08-02 16:40:32 +02:00
hardened.patch virtualbox: 6.1.26 -> 6.1.28 2021-10-30 19:42:07 -07:00
qt-env-vars.patch
qtx11extras.patch
update.sh