unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Jérémy Korwin-Zmijowski" <jeremy@korwin-zmijowski.fr>
To: Guix Help <help-guix@gnu.org>
Subject: [Guix System] Can't run VM script because of KVM kernel module permission
Date: Fri, 02 Apr 2021 11:33:13 +0200	[thread overview]
Message-ID: <7e53665faf4a231c647de357239738fdeb24c9ab.camel@korwin-zmijowski.fr> (raw)

Hey Guixters !

On my laptop running Guix System, I try to execute a VM from the script
generated by "guix system vm". But I issue the following message :

$ /gnu/store/dxrwz82s34zi33n9h9cpn8sqw5pv4qyz-run-vm.sh
Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize kvm: Permission denied

I already add builders to the kvm group as stated in /etc/group :

kvm:x:984:guixbuilder01,guixbuilder02,guixbuilder03,guixbuilder04,guixb
uilder05,guixbuilder06,guixbuilder07,guixbuilder08,guixbuilder09,guixbu
ilder10
guixbuild:x:30000:guixbuilder01,guixbuilder02,guixbuilder03,guixbuilder
04,guixbuilder05,guixbuilder06,guixbuilder07,guixbuilder08,guixbuilder0
9,guixbuilder10

What do I miss ? :/

Cheers,
Jérémy



             reply	other threads:[~2021-04-02  9:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02  9:33 Jérémy Korwin-Zmijowski [this message]
2021-04-02  9:36 ` [Guix System] Can't run VM script because of KVM kernel module permission Mathieu Othacehe
2021-04-02  9:39   ` Jérémy Korwin-Zmijowski
2021-04-02  9:43     ` Sergiu Ivanov
2021-04-02  9:47       ` Jérémy Korwin-Zmijowski
2021-04-02  9:56         ` Mathieu Othacehe
2021-04-02  9:55     ` divoplade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7e53665faf4a231c647de357239738fdeb24c9ab.camel@korwin-zmijowski.fr \
    --to=jeremy@korwin-zmijowski.fr \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).