qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] kvm_intel is loaded but user can not access that


From: Peter Maydell
Subject: Re: [Qemu-discuss] kvm_intel is loaded but user can not access that
Date: Fri, 21 Jun 2019 15:48:39 +0100

On Fri, 21 Jun 2019 at 13:39, Mahmood Naderan <address@hidden> wrote:
>
> >Does your user have the right permissions for the /dev/kvm device?
> >(For ubuntu this usually means the user should be in the 'kvm'
> >group.)
>
> There is no such group
>
> mahmood@hpcc-ubuntu:~$ sudo grep kvm /etc/group
> mahmood@hpcc-ubuntu:~$
> mahmood@hpcc-ubuntu:~$ sudo ls -l /dev/kvm
> crw-rw----+ 1 root root 10, 232 ژوئن  20 12:13 /dev/kvm

Well, with those permissions on /dev/kvm only root can use KVM.
You need to sort them out one way or another...

A quick google suggests maybe the group name has changed to 'libvirt' in later
releases of Ubuntu. You might also get some helpful answers from an
Ubuntu-specific help forum, if this is indeed an Ubuntu system. (There
are various ways to fix the permissions, but working with the way that
the distro intends them to be used will generally have better results
than working "against the grain".)

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]