From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: 'guix system vm' questions Date: Wed, 29 Jun 2016 20:23:00 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIK8h-0007fH-GV for help-guix@gnu.org; Wed, 29 Jun 2016 14:23:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIK8e-0002Wv-8v for help-guix@gnu.org; Wed, 29 Jun 2016 14:23:07 -0400 Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:34725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIK8d-0002WS-1s for help-guix@gnu.org; Wed, 29 Jun 2016 14:23:04 -0400 Received: by mail-qk0-x22f.google.com with SMTP id t127so102642392qkf.1 for ; Wed, 29 Jun 2016 11:23:01 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org HW_RANDOM_VIRTIO is enabled in the default kernel. Starting the vm like this enables the hwrng: /gnu/store/3rqbwx34kfa789jbywfbxl90nids08cf-run-vm.sh -device virtio-rng-pci and it works as can be verified by cat /dev/hwrng The only missing components from what I can tell is packaging rng-tools and adding a service to add /dev/hwrng to the entropy pool on boot. https://git.kernel.org/cgit/utils/kernel/rng-tools/rng-tools.git/ > We should look into QEMU's VirtIO RNG, which could help here: > http://wiki.qemu-project.org/Features-Done/VirtIORNG