[Nix-dev] [PATCH] Making /dev/kvm optional

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Mar 21 17:29:24 CET 2014


Hi,

On 21/03/14 13:54, Ludovic Courtès wrote:

> The patch below restricts that requirement (1) to Linux-based systems,
> and (2) to systems where /dev/kvm already exists.

Applied, thanks!

> I’m not sure about the way to handle (2).  We could special-case
> /dev/kvm and create it (instead of bind-mounting it) in the chroot, so
> it’s always available; however, it wouldn’t help much since most likely,
> if /dev/kvm missing, then KVM support is missing.

Yeah, on any properly configured (udev-based) system, /dev/kvm will be created
if and only if KVM is enabled.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list