tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
xen, qemu: passthru the path to qemu-system-i386
Jan Malakhovski
8 years ago
06adc174
e5268344
+16
3 changed files
expand all
collapse all
unified
split
pkgs
applications
virtualization
qemu
default.nix
xen
4.5.nix
4.8.nix
+4
pkgs/applications/virtualization/qemu/default.nix
···
101
else if stdenv.isAarch64 then ''makeWrapper $out/bin/qemu-system-aarch64 $out/bin/qemu-kvm --add-flags "\$([ -e /dev/kvm ] && echo -enable-kvm)"''
102
else "";
103
0
0
0
0
104
meta = with stdenv.lib; {
105
homepage = http://www.qemu.org/;
106
description = "A generic and open source machine emulator and virtualizer";
···
101
else if stdenv.isAarch64 then ''makeWrapper $out/bin/qemu-system-aarch64 $out/bin/qemu-kvm --add-flags "\$([ -e /dev/kvm ] && echo -enable-kvm)"''
102
else "";
103
104
+
passthru = {
105
+
qemu-system-i386 = "bin/qemu-system-i386";
106
+
};
107
+
108
meta = with stdenv.lib; {
109
homepage = http://www.qemu.org/;
110
description = "A generic and open source machine emulator and virtualizer";
+6
pkgs/applications/virtualization/xen/4.5.nix
···
248
-i tools/libxl/libxl_device.c
249
'';
250
0
0
0
0
0
0
251
})) ({ ocamlPackages = ocamlPackages_4_02; } // args)
···
248
-i tools/libxl/libxl_device.c
249
'';
250
251
+
passthru = {
252
+
qemu-system-i386 = if withInternalQemu
253
+
then "lib/xen/bin/qemu-system-i386"
254
+
else throw "this xen has no qemu builtin";
255
+
};
256
+
257
})) ({ ocamlPackages = ocamlPackages_4_02; } // args)
+6
pkgs/applications/virtualization/xen/4.8.nix
···
176
-i tools/libxl/libxl_device.c
177
'';
178
0
0
0
0
0
0
179
})) args
···
176
-i tools/libxl/libxl_device.c
177
'';
178
179
+
passthru = {
180
+
qemu-system-i386 = if withInternalQemu
181
+
then "lib/xen/bin/qemu-system-i386"
182
+
else throw "this xen has no qemu builtin";
183
+
};
184
+
185
})) args