Wednesday, 25 June 2014

"Permission denied" using libvirt and kvm on CentOS

If you are trying to create a VM using virt-manager on a KVM/QEMU host and you are getting "permission denied" then you need to either disable selinux or configure it to allow access.

To disable it edit /etc/selinux/config and change it from "enforcing" to "disabled" and then use  this command to make it take effect without rebooting.

setenforce 0

1 comment:

Bernard Flach said...

This is the easy way out!