
On 06/29/2012 02:12 AM, Dennis Chen wrote:
so the libvirtd daemon is there, but I have questions about this daemon: 1. where is the daemon source code, it's in the libvirt tar package?
Yes, libvirt is responsible for both libvirt.so (the client code [src/remote/*], which bundles the RPC request to send to libvirtd) and for libvirtd (the daemon code [daemon/*], which receives the RPC request and then calls into the qemu driver code [src/qemu/*] to act on the request).
2. Who is responsible to start this daemon and when?
If you use Fedora or RHEL, it is the installation of the 'libvirt' package that installs libvirtd as a service, and therefore the service mechanism (systemd or initd) that fires off libvirtd when you boot. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org