Commit Graph

152 Commits

Author SHA1 Message Date
Rob Vermaas
7ea0160fee Merge pull request #93 from oxij/master
Support PCI passthrough in Xen. Add enca package.

Revert of Xen version from 4.1.2 to 4.0.3.
2012-09-02 04:09:25 -07:00
Eelco Dolstra
e188f8ec66 virtualbox: Update to 4.1.20 2012-08-22 16:48:03 -04:00
Eelco Dolstra
964880ec8f virtualbox: Drop accidental JDK dependency 2012-08-22 15:55:46 -04:00
aszlig
347e8c32a3 virtualbox: Remove unused variable $srcroot.
Thanks to @shlevy for mentioning this.
2012-08-19 09:02:16 +02:00
aszlig
0f9a5eb027 virtualbox: Add symbol versions to all modules.
Copy all symbol versions from the ones generated in the vboxdrv build.
2012-08-19 09:02:16 +02:00
aszlig
1b8ec2eeec virtualbox: Don't build modules for guests.
We're the host so we don't need the kernel modules for the guest additions, as
they're build with in a separate derivation anyway.
2012-08-19 09:02:15 +02:00
aszlig
9fb1d2e6fc virtualbox: Remove redundant NIX_CFLAGS_COMPILE.
The "include/generated" stuff is already added to the search path by the kernel
modules build system, so no need to hack it in like this.
2012-08-19 09:02:15 +02:00
aszlig
3e62a02b17 virtualbox: Separate modules build and install.
First of all, modules won't install when there is no "make modules" prior to it,
so we're doing this now with a new function called forEachModule, so we can
avoid duplication as much as possible.

In addition this sets $sourcedir to the current directory of the configurePhase,
so we're able to find the source tree later on, after several chdir()s.
2012-08-19 09:02:15 +02:00
aszlig
e32d7843da virtualbox: Set depmod path to /do_not_use_depmod.
The scripts/depmod.sh checks whether the path in $DEPMOD is executable and only
executes it if that's the case. So, by setting DEPMOD to "/do_not_use_depmod"
the destination path doesn't exist _and_ thus isn't executable aswell.
2012-08-19 09:02:15 +02:00
aszlig
31d8a9a1f4 virtualbox: Fix wrong path when recursing modules.
The for loop didn't find $curdir, because it was set _after_ the directory has
been changed. The variable is now called $srcroot and is set before the
installPhase is changing directories.
2012-08-19 09:02:15 +02:00
aszlig
830e9db5dd virtualbox: Use Linux's kbuild to build modules.
Don't rely on VirtualBox's in-tree build scripts to set include paths correctly
and use the official way of the Linux kernel to build the modules. That way we
don't need to make ugly symlinks in the kernel tree or heavily patch VirtualBox.
2012-08-19 09:02:14 +02:00
Eelco Dolstra
c67c397c11 VirtualBox-GuestAdditions: Add to the channel 2012-08-14 13:43:37 -04:00
Jan Malakhovski
da7408e105 xen: Support PCI passthrough.
Previous commit reverted Xen back to 4.0.3 because xend from 4.1.* and newer
hangs for unknown reasons.
The new "xl" toolstack from 4.1.* and unstable works, yet PCI passthrough is not
supported by xl in 4.1.* and is broken in the unstable.

With this patch I was able to passthrough ATI Radeon HD 6950 without 3D
acceleration, though, to both Linux and Windows guests. Which is the best
archived result with Xen PCI passthrough on NixOS after trying out all possible
Xen versions.
Same VGA card works fine if passed through into a guest with KVM (acceleration,
GPGPU, everything works). I should have tried KVM from the start.
2012-08-08 03:16:57 +04:00
Jan Malakhovski
bff9f2720f Revert "xen: update to version 4.1.2"
This reverts commit af32fd6ce3.
2012-08-08 02:30:25 +04:00
Joachim Schiele
538b17a791 fixed most virt-manager issues! 2012-07-20 23:27:24 +00:00
Peter Simons
fd749dd9bf Merge pull request #32 from peti/xen-update
Xen for Linux 3.2
2012-07-16 02:27:23 -07:00
aszlig
8a5d9bad94 Update VirtualBox to version 4.1.18.
This should make #15 obsolete, as those patches were cherry-picked from
upstream.
2012-07-03 08:44:35 -04:00
Peter Simons
af32fd6ce3 xen: update to version 4.1.2
Patch submitted by Jan Malakhovski <oxij@oxij.org>.
2012-07-02 17:45:47 +02:00
Peter Simons
3ecf94ae27 Update VirtualBox and guest additions to v4.1.16.
This includes fixes for kernels up to v3.4, so we shouldn't get build failures
with kernel 3.4 anymore.

svn path=/nixpkgs/trunk/; revision=34438
2012-06-11 07:15:03 +00:00
Joachim Schiele
2a6579bdb6 virtinst installs now. still most tools don't work and virt-manager still has problems with finding libvirt.
svn path=/nixpkgs/trunk/; revision=34052
2012-05-10 19:29:54 +00:00
Joachim Schiele
2b126e57b2 virtinst is still missing, but i will finish this tomorrow
svn path=/nixpkgs/trunk/; revision=33999
2012-05-06 23:08:20 +00:00
Joachim Schiele
38ec761dcf nearly there, please someone check: libvirt/default.nix and see this post: http://www.redhat.com/archives/libvir-list/2007-May/msg00064.html
svn path=/nixpkgs/trunk/; revision=33998
2012-05-06 22:39:39 +00:00
Joachim Schiele
f6c6bdda81 virt-manager is not working yet, but as we are not using git yet, i use this to cooperate with viric ;-)
svn path=/nixpkgs/trunk/; revision=33997
2012-05-06 19:25:01 +00:00
Shea Levy
f9a88de275 VirtualBox 4.1.12
svn path=/nixpkgs/trunk/; revision=33888
2012-04-23 04:25:18 +00:00
Michael Raskin
e9226f1ca6 Add a needed dependency
svn path=/nixpkgs/trunk/; revision=33851
2012-04-20 04:31:17 +00:00
Shea Levy
5f01a1d8b6 Let virtualbox build on linux 3.3+
svn path=/nixpkgs/trunk/; revision=33498
2012-03-31 15:57:35 +00:00
Eelco Dolstra
bd8d003d69 * VirtualBox updated to 4.1.10. Drop the wrapper script since it no
longer seems needed.  Optionally build the Python bindings.  Disable
  the Java bindings by default to prevent a gratuitous dependency on
  the JDK.

svn path=/nixpkgs/trunk/; revision=33295
2012-03-20 13:54:01 +00:00
Lluís Batlle i Rossell
b4955eea65 Adding qemu 1.0.1.
svn path=/nixpkgs/trunk/; revision=33232
2012-03-18 10:31:15 +00:00
Shea Levy
6c99fad938 OMVF: Only need some of the sources, and symlinks instead of copies are fine
svn path=/nixpkgs/trunk/; revision=33090
2012-03-14 22:43:07 +00:00
Shea Levy
80f47974b7 OVMF: Actually support i686
svn path=/nixpkgs/trunk/; revision=33060
2012-03-14 07:29:11 +00:00
Shea Levy
6cf8e4f815 EDK2: Significant cleanup and
modularization, and add OVMF as an example of how to use it

svn path=/nixpkgs/trunk/; revision=33059
2012-03-14 06:57:58 +00:00
Joachim Schiele
88b69df2dc Added two missing dependencies (to make the packages build)
svn path=/nixpkgs/trunk/; revision=32890
2012-03-08 13:31:16 +00:00
Yury G. Kudryashov
57fd764a39 svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32792
2012-03-05 10:00:23 +00:00
Eelco Dolstra
000051b196 * VirtualBox: drop the unnecessary dependency on HAL.
svn path=/nixpkgs/trunk/; revision=32745
2012-03-02 14:54:14 +00:00
Shea Levy
ea195b2507 svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32564
2012-02-25 19:57:34 +00:00
Eelco Dolstra
5f20423948 * Fix the VirtualBox build. It was broken since the Qt 4.8 update
because Qt 4.8 doesn't propagate dependencies such as "which" and
  "pkgconfig".  Thanks to Yury for pointing this out.
* Also updated VirtualBox to 4.1.8.

svn path=/nixpkgs/trunk/; revision=32527
2012-02-23 22:04:54 +00:00
Eelco Dolstra
722db331a3 * Updated novaclient.
svn path=/nixpkgs/trunk/; revision=32526
2012-02-23 21:25:59 +00:00
Eelco Dolstra
f71dd91a43 * Apply r32435 from the trunk (always build Python with SSL support).
Remove .ssl references from some packages missed in that commit.

svn path=/nixpkgs/branches/stdenv-updates/; revision=32469
2012-02-21 23:35:35 +00:00
Eelco Dolstra
a0bc441980 * Updated Xen to 4.0.3 (mostly to get it to build with GCC 4.6).
svn path=/nixpkgs/branches/stdenv-updates/; revision=32380
2012-02-18 00:18:26 +00:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Alexander Tsamutali
69c91f30ce applications/virtualization/qemu: Added 0.15.nix
svn path=/nixpkgs/trunk/; revision=31401
2012-01-07 15:06:49 +00:00
Sander van der Burg
a56033ea14 Bumped virtualbox version to 4.1.6
svn path=/nixpkgs/trunk/; revision=30637
2011-11-30 14:44:29 +00:00
Yury G. Kudryashov
9f1347ae7e virtualbox-4.1.2
svn path=/nixpkgs/trunk/; revision=29677
2011-10-05 19:54:44 +00:00
Peter Simons
01022a1502 lxc: moved package into the "applications/virtualization" category
svn path=/nixpkgs/trunk/; revision=29491
2011-09-26 08:12:14 +00:00
Marco Maggesi
b7190d1e86 VirtualBox Guest Additions: install modules for Xorg version 1.9.x
svn path=/nixpkgs/trunk/; revision=28518
2011-08-12 14:27:28 +00:00
David Guibert
0ce8c08099 fix the compilation of virtualboxGuestaddition
svn path=/nixpkgs/trunk/; revision=28415
2011-08-09 09:07:29 +00:00
David Guibert
850748a6f3 update virtualbox guestadditions 4.1.0
svn path=/nixpkgs/trunk/; revision=28380
2011-08-08 12:11:57 +00:00
Shea Levy
be1bd9e6bf virtualbox: Bump to 4.1.0
svn path=/nixpkgs/trunk/; revision=28207
2011-08-06 20:52:11 +00:00
Eelco Dolstra
ed58c55155 * xen: Build succesfully if $out already exists (needed for WCRE).
svn path=/nixpkgs/trunk/; revision=27580
2011-07-02 19:21:28 +00:00
Eelco Dolstra
09c9c44403 * Use /etc/nova/nova.conf as the location of the config file.
svn path=/nixpkgs/trunk/; revision=27503
2011-06-20 14:26:49 +00:00