[libvirt-users] How does libvirt interaction with KVM to create a VM?

Eric Blake eblake at redhat.com
Fri Jun 29 12:50:11 UTC 2012


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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120629/38de72b0/attachment.sig>


More information about the libvirt-users mailing list