On 06/29/2012 08:50 PM, Eric Blake wrote:
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, Thanks for the elaboration! It's very clear for me understanding
the relationship of libvirtd and qemu driver and the qemu binary, also
the internal mechanism...
BRs,
Dennis