2010-07-09 09:21:39 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
libvirtd - libvirtd management daemon
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2016-04-13 17:57:37 +00:00
|
|
|
B<libvirtd> [I<OPTION>]...
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
The B<libvirtd> program is the server side daemon component of the libvirt
|
|
|
|
virtualization management system.
|
|
|
|
|
|
|
|
This daemon runs on host servers and performs required management tasks for
|
|
|
|
virtualized guests. This includes activities such as starting, stopping
|
|
|
|
and migrating guests between host servers, configuring and manipulating
|
|
|
|
networking, and managing storage for use by guests.
|
|
|
|
|
|
|
|
The libvirt client libraries and utilities connect to this daemon to issue
|
|
|
|
tasks and collect information about the configuration and resources of the host
|
|
|
|
system and guests.
|
|
|
|
|
|
|
|
By default, the libvirtd daemon listens for requests on a local Unix domain
|
|
|
|
socket. Using the B<-l>|B<--listen> command line option, the libvirtd daemon
|
|
|
|
can be instructed to additionally listen on a TCP/IP socket. The TCP/IP socket
|
|
|
|
to use is defined in the libvirtd configuration file.
|
|
|
|
|
|
|
|
Restarting libvirtd does not impact running guests. Guests continue to operate
|
|
|
|
and will be picked up automatically if their XML configuration has been
|
|
|
|
defined. Any guests whose XML configuration has not been defined will be lost
|
|
|
|
from the configuration.
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over
|
|
|
|
|
2013-08-13 11:14:15 +00:00
|
|
|
=item B<-h, --help>
|
|
|
|
|
|
|
|
Display command line help usage then exit.
|
|
|
|
|
2010-07-09 09:21:39 +00:00
|
|
|
=item B<-d, --daemon>
|
|
|
|
|
|
|
|
Run as a daemon & write PID file.
|
|
|
|
|
|
|
|
=item B<-f, --config> I<FILE>
|
|
|
|
|
|
|
|
Use this configuration file, overriding the default value.
|
|
|
|
|
|
|
|
=item B<-l, --listen>
|
|
|
|
|
|
|
|
Listen for TCP/IP connections.
|
|
|
|
|
|
|
|
=item B<-p, --pid-file> I<FILE>
|
|
|
|
|
|
|
|
Use this name for the PID file, overriding the default value.
|
|
|
|
|
|
|
|
=item B<-t, --timeout> I<SECONDS>
|
|
|
|
|
2017-09-07 13:47:51 +00:00
|
|
|
Exit after timeout period (in seconds), provided there are neither any client
|
|
|
|
connections nor any running domains.
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
=item B<-v, --verbose>
|
|
|
|
|
|
|
|
Enable output of verbose messages.
|
|
|
|
|
|
|
|
=item B< --version>
|
|
|
|
|
|
|
|
Display version information then exit.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 SIGNALS
|
|
|
|
|
|
|
|
On receipt of B<SIGHUP> libvirtd will reload its configuration.
|
|
|
|
|
|
|
|
=head1 FILES
|
|
|
|
|
2012-08-13 04:44:49 +00:00
|
|
|
=head2 When run as B<root>.
|
|
|
|
|
2010-07-09 09:21:39 +00:00
|
|
|
=over
|
|
|
|
|
2017-06-28 06:00:48 +00:00
|
|
|
=item F<SYSCONFDIR/libvirt/libvirtd.conf>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
The default configuration file used by libvirtd, unless overridden on the
|
|
|
|
command line using the B<-f>|B<--config> option.
|
|
|
|
|
2012-08-13 04:44:47 +00:00
|
|
|
=item F<LOCALSTATEDIR/run/libvirt/libvirt-sock>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
2012-08-13 04:44:47 +00:00
|
|
|
=item F<LOCALSTATEDIR/run/libvirt/libvirt-sock-ro>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
2012-08-13 04:44:49 +00:00
|
|
|
The sockets libvirtd will use.
|
2010-07-09 09:21:39 +00:00
|
|
|
|
2012-08-13 04:44:47 +00:00
|
|
|
=item F<SYSCONFDIR/pki/CA/cacert.pem>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
The TLS B<Certificate Authority> certificate libvirtd will use.
|
|
|
|
|
2012-08-13 04:44:47 +00:00
|
|
|
=item F<SYSCONFDIR/pki/libvirt/servercert.pem>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
The TLS B<Server> certificate libvirtd will use.
|
|
|
|
|
2012-08-13 04:44:47 +00:00
|
|
|
=item F<SYSCONFDIR/pki/libvirt/private/serverkey.pem>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
The TLS B<Server> private key libvirtd will use.
|
|
|
|
|
2012-08-13 04:44:48 +00:00
|
|
|
=item F<LOCALSTATEDIR/run/libvirtd.pid>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
The PID file to use, unless overridden by the B<-p>|B<--pid-file> option.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
2012-08-13 04:44:49 +00:00
|
|
|
=head2 When run as B<non-root>.
|
|
|
|
|
|
|
|
=over
|
|
|
|
|
2017-06-28 06:00:48 +00:00
|
|
|
=item F<$XDG_CONFIG_HOME/libvirt/libvirtd.conf>
|
2012-08-13 04:44:49 +00:00
|
|
|
|
|
|
|
The default configuration file used by libvirtd, unless overridden on the
|
|
|
|
command line using the B<-f>|B<--config> option.
|
|
|
|
|
|
|
|
=item F<$XDG_RUNTIME_DIR/libvirt/libvirt-sock>
|
|
|
|
|
|
|
|
The socket libvirtd will use.
|
|
|
|
|
|
|
|
=item F<$HOME/.pki/libvirt/cacert.pem>
|
|
|
|
|
|
|
|
The TLS B<Certificate Authority> certificate libvirtd will use.
|
|
|
|
|
|
|
|
=item F<$HOME/.pki/libvirt/servercert.pem>
|
|
|
|
|
|
|
|
The TLS B<Server> certificate libvirtd will use.
|
|
|
|
|
|
|
|
=item F<$HOME/.pki/libvirt/serverkey.pem>
|
|
|
|
|
|
|
|
The TLS B<Server> private key libvirtd will use.
|
|
|
|
|
|
|
|
=item F<$XDG_RUNTIME_DIR/libvirt/libvirtd.pid>
|
|
|
|
|
|
|
|
The PID file to use, unless overridden by the B<-p>|B<--pid-file> option.
|
|
|
|
|
|
|
|
=item If $XDG_CONFIG_HOME is not set in your environment, libvirtd will use F<$HOME/.config>
|
|
|
|
|
|
|
|
=item If $XDG_RUNTIME_DIR is not set in your environment, libvirtd will use F<$HOME/.cache>
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
2010-07-09 09:21:39 +00:00
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
To retrieve the version of libvirtd:
|
|
|
|
|
|
|
|
# libvirtd --version
|
|
|
|
libvirtd (libvirt) 0.8.2
|
|
|
|
#
|
|
|
|
|
|
|
|
To start libvirtd, instructing it to daemonize and create a PID file:
|
|
|
|
|
|
|
|
# libvirtd -d
|
2012-08-13 04:44:48 +00:00
|
|
|
# ls -la LOCALSTATEDIR/run/libvirtd.pid
|
|
|
|
-rw-r--r-- 1 root root 6 Jul 9 02:40 LOCALSTATEDIR/run/libvirtd.pid
|
2010-07-09 09:21:39 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
=head1 BUGS
|
|
|
|
|
|
|
|
Please report all bugs you discover. This should be done via either:
|
|
|
|
|
|
|
|
=over
|
|
|
|
|
|
|
|
=item a) the mailing list
|
|
|
|
|
2017-10-13 15:30:41 +00:00
|
|
|
L<https://libvirt.org/contact.html>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
=item or,
|
|
|
|
|
|
|
|
B<>
|
|
|
|
|
|
|
|
=item b) the bug tracker
|
|
|
|
|
2017-10-13 15:30:41 +00:00
|
|
|
L<https://libvirt.org/bugs.html>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
=item Alternatively, you may report bugs to your software distributor / vendor.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 AUTHORS
|
|
|
|
|
2010-07-12 19:33:35 +00:00
|
|
|
Please refer to the AUTHORS file distributed with libvirt.
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2012-07-24 17:41:03 +00:00
|
|
|
Copyright (C) 2006-2012 Red Hat, Inc., and the authors listed in the
|
2010-07-12 19:33:35 +00:00
|
|
|
libvirt AUTHORS file.
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
=head1 LICENSE
|
|
|
|
|
|
|
|
libvirtd is distributed under the terms of the GNU LGPL v2.1+.
|
|
|
|
This is free software; see the source for copying conditions. There
|
|
|
|
is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<virsh(1)>, L<virt-install(1)>, L<virt-xml-validate(1)>, L<virt-top(1)>,
|
2017-10-13 15:30:41 +00:00
|
|
|
L<virt-df(1)>, L<https://www.libvirt.org/>
|
2010-07-09 09:21:39 +00:00
|
|
|
|
|
|
|
=cut
|