启动vm报错failed to initialize KVM: Permission denie

启动vm报错

error: Failed to create domain from NC07848DE9F50_6FADC1.xml
error: internal error process exited while connecting to monitor: Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied

No accelerator found!


内核:

cloud@ubuntu3:~/test$ uname -a
Linux ubuntu3 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


libvirt版本:

cloud@ubuntu3:~/test$ virsh version
setlocale: No such file or directory
Compiled against library: libvir 0.9.13
Using library: libvir 0.9.13
Using API: QEMU 0.9.13
Running hypervisor: QEMU 1.1.0


对比另一台同配置的机器

发现需要将cloud加到kvm组中即可(/etc/group , /etc/gshadow)

参考信息

http://forums.gentoo.org/viewtopic-t-925976-start-0.html




你可能感兴趣的:(启动vm报错failed to initialize KVM: Permission denie)