All of lore.kernel.org
 help / color / mirror / Atom feed
* virt-install: failed to initialize KVM: Permission denied
@ 2014-08-19 18:38 arnaud gaboury
  2014-08-20 15:31 ` Cole Robinson
  0 siblings, 1 reply; 3+ messages in thread
From: arnaud gaboury @ 2014-08-19 18:38 UTC (permalink / raw)
  To: kvm

$ uname -r
3.16.1-1-ARCH
---------------------

As a regular user, member of the libvirt group, I run this command to
create a basic VM:

virt-install --connect qemu:///system --name=test --ram 2048 --cpu
host-model-only --os-variant=win7 --disk /myVM/test --boot cdrom,hd
--virt-type kvm --graphics spice --controller scsi,model=virtio-scsi
--cdrom=/drawer/myIso/w8.iso

It returns an error :
------------------------------
---
Starting install...
ERROR    internal error: process exited while connecting to monitor:
Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
---------------------------------

$ getfacl /dev/kvm

# file: dev/kvm
# owner: root
# group: kvm
user::rw-
user:martinus:rw-
group::rw-
mask::rw-
other::---

The command return seems to indicate rights are correct.
$ lsmod return kvm & kvm_intel are loaded.

If I run the virt-install with qemu:///session, I do not have this
issue and can create the VM.

I found many entries about the KVM permission issue, but with no clear
answer to solve it.

Thank you for any suggestion

-- 

google.com/+arnaudgabourygabx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-20 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 18:38 virt-install: failed to initialize KVM: Permission denied arnaud gaboury
2014-08-20 15:31 ` Cole Robinson
2014-08-20 15:50   ` arnaud gaboury

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.