Hi! Giovanni Biscuolo writes: [...] > I'm on Debian 9 and used to run other QEMU images via libvirt > (e.g. virsh --connect qemu:///system start guixsd-test) as user with no > problems (my user is in kvm and libvirt-qemu groups) > > please any hint on how I can use "gnu system vm" as a normal user? I run the same command as root but get the same error (this time I'll paste the full log) --8<---------------cut here---------------start------------->8--- $ time sudo -i guix system vm /localhome/g/guix/labs/configuration/container-minimal.scm [sudo] password for g: /localhome/g/guix/labs/configuration/container-minimal.scm:41:19: warning: 'dhcp-client-service' is deprecated, use 'dhcp-client-service-type' instead substitute: updating substitutes from 'https://ci.guix.info'... 100.0% The following derivations will be built: /gnu/store/9dfr4cn5qpxp9jxj5jwp9nrjw4y4wsnr-qemu-image.drv /gnu/store/yhzd6g6pw3j4jpxabjbpl0qwf9j232ks-run-vm.sh.drv building /gnu/store/9dfr4cn5qpxp9jxj5jwp9nrjw4y4wsnr-qemu-image.drv... environment variable `PATH' set to `/gnu/store/aya58zrfkl10vd62vzqz9y7b54xgzpfi-qemu-minimal-3.1.0/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin' creating qcow2 image of 70.00 MiB... Formatting '/gnu/store/4mz1qqv7h5g5885q1aq0izlmy01knf1g-qemu-image', fmt=qcow2 size=73400320 cluster_size=65536 lazy_refcounts=off refcount_bits=16 Could not access KVM kernel module: Permission denied qemu-system-x86_64: failed to initialize KVM: Permission denied Backtrace: 2 (primitive-load "/gnu/store/hyaagi7v0qda56rivy893px3rvz?") In ./gnu/build/vm.scm: 146:2 1 (load-in-linux-vm _ #:output _ #:qemu _ #:memory-size _ ?) In ./guix/build/utils.scm: 616:6 0 (invoke _ . _) ./guix/build/utils.scm:616:6: In procedure invoke: Throw to key `srfi-34' with args `(#)'. builder for `/gnu/store/9dfr4cn5qpxp9jxj5jwp9nrjw4y4wsnr-qemu-image.drv' failed with exit code 1 build of /gnu/store/9dfr4cn5qpxp9jxj5jwp9nrjw4y4wsnr-qemu-image.drv failed View build log at '/var/log/guix/drvs/9d/fr4cn5qpxp9jxj5jwp9nrjw4y4wsnr-qemu-image.drv.bz2'. cannot build derivation `/gnu/store/yhzd6g6pw3j4jpxabjbpl0qwf9j232ks-run-vm.sh.drv': 1 dependencies couldn't be built guix system: error: build failed: build of `/gnu/store/yhzd6g6pw3j4jpxabjbpl0qwf9j232ks-run-vm.sh.drv' failed 41.463 secs --8<---------------cut here---------------end--------------->8--- so even with root it fails: maybe something to do with my libvirtd daemon service? WDYT? Thanks! Giovanni -- Giovanni Biscuolo Xelera IT Infrastructures