3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/virtualization
Ambroz Bizjak 5bec9dc65b virtualbox: 5.2.28 -> 6.0.6
Quite some fixing was needed to get this to work.

Changes in VirtualBox and additions:

- VirtualBox is no longer officially supported on 32-bit hosts so i686-linux is removed from platforms
  for VirtualBox and the extension pack. 32-bit additions still work.

- There was a refactoring of kernel module makefiles and two resulting bugs affected us which had to be patched.
  These bugs were reported to the bug tracker (see comments near patches).

- The Qt5X11Extras makefile patch broke. Fixed it to apply again, making the libraries logic simpler
  and more correct (it just uses a different base path instead of always linking to Qt5X11Extras).

- Added a patch to remove "test1" and "test2" kernel messages due to forgotten debugging code.

- virtualbox-host NixOS module: the VirtualBoxVM executable should be setuid not VirtualBox.
  This matches how the official installer sets it up.

- Additions: replaced a for loop for installing kernel modules with just a "make install",
  which seems to work without any of the things done in the previous code.

- Additions: The package defined buildCommand which resulted in phases not running, including RUNPATH
  stripping in fixupPhase, and installPhase was defined which was not even run. Fixed this by
  refactoring using phases. Had to set dontStrip otherwise binaries were broken by stripping.
  The libdbus path had to be added later in fixupPhase because it is used via dlopen not directly linked.

- Additions: Added zlib and libc to patchelf, otherwise runtime library errors result from some binaries.
  For some reason the missing libc only manifested itself for mount.vboxsf when included in the initrd.

Changes in nixos/tests/virtualbox:

- Update the simple-gui test to send the right keys to start the VM. With VirtualBox 5
  it was enough to just send "return", but with 6 the Tools thing may be selected by
  default. Send "home" to reliably select Tools, "down" to move to the VM and "return"
  to start it.

- Disable the VirtualBox UART by default because it causes a crash due to a regression
  in VirtualBox (specific to software virtualization and serial port usage). It can
  still be enabled using an option but there is an assert that KVM nested virtualization
  is enabled, which works around the problem (see below).

- Add an option to enable nested KVM virtualization, allowing VirtualBox to use hardware
  virtualization. This works around the UART problem and also allows using 64-bit
  guests, but requires a kernel module parameter.

- Add an option to run 64-bit guests. Tested that the tests pass with that. As mentioned
  this requires KVM nested virtualization.
2019-05-09 23:36:57 +02:00
..
8086tiny
aqemu
bochs treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
cbfstool cbfstool: 4.7 -> 4.9 2019-02-02 23:31:55 +01:00
charliecloud charliecloud: init at 0.9.8 2019-04-04 14:16:48 +02:00
cntr cntr: init at 1.2.0 2018-10-25 10:19:41 +01:00
containerd containerd: 1.2.5 -> 1.2.6 2019-04-09 20:05:38 +02:00
docker docker: 18.09.2 -> 18.09.5 2019-04-27 17:48:50 -04:00
docker-compose misc: Remove myself from list of maintainers 2019-03-12 23:50:52 +01:00
driver win-spice: add meta.license 2018-11-25 13:57:57 +01:00
dynamips dynamips: 0.2.19 -> 0.2.20 2019-02-20 20:36:39 +01:00
ecs-agent Replace platforms.linux with platforms.darwin for expressions that compile on darwin too (too restrictive platforms) 2019-02-18 10:56:58 +01:00
firecracker firecracker: 0.15.0 -> 0.15.2 2019-04-22 11:52:40 -05:00
lkl lkl: install liblkl.so and liblkl-hijack.so 2019-02-01 23:31:50 -05:00
looking-glass-client looking-glass-client: fix build 2019-05-02 22:06:56 -05:00
nvidia-docker nvidia-docker: init at 2.0.3 2019-02-27 09:56:03 +01:00
open-vm-tools open-vm-tools: 10.3.5 -> 10.3.10 2019-04-01 21:24:10 -07:00
OVMF OVMF: update homepage 2018-09-18 13:18:41 +02:00
podman podman: 1.1.2 -> 1.2.0 2019-04-05 16:56:37 +02:00
qboot qboot: 20150603 -> 20170330, fix build (#47364) 2018-09-25 22:32:46 +02:00
qemu qemu: fix cross (#60261) 2019-04-27 09:19:06 +02:00
railcar railcar: add reference to upstream patch 2018-12-11 17:37:18 +02:00
remotebox remotebox: 2.5 -> 2.6 2019-01-16 06:13:39 -08:00
rkt go_1_12: init at go 1.12 2019-03-02 14:24:17 -08:00
runc runc: 1.0.0-rc7 -> 1.0.0-rc8 2019-04-30 10:56:50 +02:00
seabios seabios: 1.9.3 -> 1.11.0 2018-03-04 17:33:29 +00:00
singularity Merge branch 'master' into singularity 2019-02-17 21:49:37 +00:00
spice-vdagent Treewide: use https for www.spice-space.org 2018-11-25 00:01:22 +01:00
tini tini: 0.17.0 -> 0.18.0 2018-04-25 21:45:09 -07:00
tinyemu tinyemu: init at 2018-09-23 2018-10-06 18:53:10 +00:00
virt-manager virtmanager: Fix gobject-introspection (#57385) 2019-03-12 22:29:45 +01:00
virt-top libvirt: 3.10.0 -> 4.1.0 2018-03-08 23:45:28 +00:00
virt-viewer virt-viewer: 7.0 -> 8.0 2019-03-12 02:09:33 -07:00
virt-what virt-what: 1.18 -> 1.19 2018-11-08 07:28:44 -08:00
virtinst pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
virtualbox virtualbox: 5.2.28 -> 6.0.6 2019-05-09 23:36:57 +02:00
vpcs treewide: Remove usage of remaining redundant platform compatability stuff 2018-08-30 17:20:32 -04:00
x11docker x11docker: v5.4.1 -> v5.4.4 (#56570) 2019-03-04 13:38:19 +01:00
xen Merge pull request #54094 from rnhmjoj/shell 2019-01-19 14:15:51 +01:00
xhyve update xhyve to tip of master 2019-03-18 17:39:18 -05:00