On Thu, Feb 22, 2018 at 01:27:18PM +0100, Jiří Sléžka wrote:
libvirt needs authentication to connect to libvirt URI
qemu:///system
(see also:
http://libvirt.org/auth.html http://libvirt.org/uri.html)
You can set the backend to direct to avoid needing libvirt:
export LIBGUESTFS_BACKEND=direct
Alternately you can fiddle with the libvirt polkit configuration
to permit access:
https://libvirt.org/aclpolkit.html
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v