In /etc/libvirt/libvirtd.conf
, uncomment these two lines:
unix_sock_group = "libvirt"
unix_sock_rw_perms = "0770"
Then add your user to the libvirt and libvirt-qemu groups:
sudo usermod -a -G libvirt david
sudo usermod -a -G libvirt-qemu david
Sources: