Google
  Web www.spinics.net

How to specify the libvirtd in connect call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,
    Here is my situation, I install libvirt in a non-default directory
and start libvird with sudo. While I can connect virsh to libvirtd
using "virsh --connect qemu:///system", I fail to connect my app using
"virConnectOpen("qemu:///system")", which complains "unable to locate
libvirtd daemon in $PATH".  Then, I take another try and add the path
of libvirtd in env variable PATH. Unfortunately, it doesn't work.
    I read through the api reference and find no place to specify this
path explicitly.

Thanks for any tip.
Harvey

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net