创建虚拟机libvirt报错 Fail bind socket:Permission Deny

解决方法:

在/etc/libvirt/qemu.conf中添加选项:
 

security_driver=“none”

在/etc/libvirt/libvirtd.conf加上:

unix_sock_group = “libvirtd”

unix_sock_ro_perms = “0777”

unix_sock_rw_perms = “0770"
 

最后重启libvirt服务

service libvirt-bin restart

你可能感兴趣的:(创建虚拟机libvirt报错 Fail bind socket:Permission Deny)