[arch-general] qemu-vm : access to KVM kernel denied

Leonid Isaev lisaev at umail.iu.edu
Sun Aug 17 08:48:03 EDT 2014


On Sun, Aug 17, 2014 at 11:30:38AM +0200, arnaud gaboury wrote:
> I found my entries about this topic, but no clear answer.
> 
> As user, I want to install a VM with virt-install.
> $ virt-install  --connect qemu:///system  --LONG list of options
> 
> Error : could not access KVM kernel module: permission denied. Running
> the above command as root returns the same.
> 
> My configuration:
> martinus at gerbillous ➤➤ ~ % uname -r
> 3.16.1-1-ARCH
> martinus at gerbillous ➤➤ ~ % ls -al /dev/kvm
> crw-rw----+ 1 root kvm 10, 232 Aug 17 11:05 /dev/kvm
> martinus at gerbillous ➤➤ ~ % groups martinus
> adm wheel video audio kalu libvirt qemu kvm martinus

You don't need to be in 'kvm' group to use /dev/kvm. What does 'getfacl
/dev/kvm' say? Can you run a plain qemu-system-<something>?

Cheers,
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
                  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20140817/1f988a06/attachment.asc>


More information about the arch-general mailing list