Re: qemu-vm : access to KVM kernel denied

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



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@gerbillous ➤➤ ~ % uname -r
> 3.16.1-1-ARCH
> martinus@gerbillous ➤➤ ~ % ls -al /dev/kvm
> crw-rw----+ 1 root kvm 10, 232 Aug 17 11:05 /dev/kvm
> martinus@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

Attachment: pgpzNrVVhhqOI.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux