Browse Source

New upstream version 1.2.20

upstream/latest upstream/1.2.20
Guido Günther 7 years ago
parent
commit
a4989de476
  1. 4
      AUTHORS
  2. 18
      COPYING.LESSER
  3. 6716
      ChangeLog
  4. 4
      Makefile.am
  5. 5
      Makefile.in
  6. 32
      configure
  7. 9
      configure.ac
  8. 1
      daemon/Makefile.in
  9. 2
      daemon/libvirtd.8.in
  10. 11
      docs/Makefile.am
  11. 12
      docs/Makefile.in
  12. 5
      docs/aclpolkit.html
  13. 6
      docs/aclpolkit.html.in
  14. 7
      docs/apps.html
  15. 10
      docs/apps.html.in
  16. 59
      docs/devguide.html
  17. 56
      docs/devguide.html.in
  18. 2
      docs/formatcaps.html
  19. 2
      docs/formatcaps.html.in
  20. 26
      docs/formatdomain.html
  21. 24
      docs/formatdomain.html.in
  22. 2
      docs/html/libvirt-libvirt-domain.html
  23. 64
      docs/internals/command.html
  24. 4
      docs/internals/command.html.in
  25. 60
      docs/internals/locking.html
  26. 60
      docs/internals/oomtesting.html
  27. 60
      docs/internals/rpc.html
  28. 2
      docs/libvirt-api.xml
  29. 150
      docs/news.html
  30. 162
      docs/news.html.in
  31. 1
      docs/schemas/Makefile.in
  32. 27
      docs/schemas/domaincommon.rng
  33. 1
      examples/apparmor/Makefile.in
  34. 1
      examples/dominfo/Makefile.in
  35. 1
      examples/dommigrate/Makefile.in
  36. 1
      examples/domsuspend/Makefile.in
  37. 1
      examples/domtop/Makefile.in
  38. 1
      examples/hellolibvirt/Makefile.in
  39. 1
      examples/lxcconvert/Makefile.in
  40. 1
      examples/object-events/Makefile.in
  41. 1
      examples/openauth/Makefile.in
  42. 17
      examples/polkit/Makefile.am
  43. 1925
      examples/polkit/Makefile.in
  44. 130
      examples/polkit/libvirt-acl.rules
  45. 24
      examples/rename/Makefile.am
  46. 2083
      examples/rename/Makefile.in
  47. 73
      examples/rename/rename.c
  48. 1
      examples/systemtap/Makefile.in
  49. 1
      examples/xml/nwfilter/Makefile.in
  50. 1
      gnulib/lib/Makefile.in
  51. 1
      gnulib/tests/Makefile.in
  52. 1
      include/Makefile.in
  53. 1
      include/libvirt/Makefile.in
  54. 2
      include/libvirt/libvirt.h
  55. 22
      libvirt.spec
  56. 20
      libvirt.spec.in
  57. BIN
      po/ar.gmo
  58. 8411
      po/ar.po
  59. BIN
      po/as.gmo
  60. 8433
      po/as.po
  61. BIN
      po/bg.gmo
  62. 8411
      po/bg.po
  63. BIN
      po/bn.gmo
  64. 8411
      po/bn.po
  65. BIN
      po/bn_IN.gmo
  66. 8426
      po/bn_IN.po
  67. BIN
      po/bs.gmo
  68. 8411
      po/bs.po
  69. BIN
      po/ca.gmo
  70. 8419
      po/ca.po
  71. BIN
      po/cs.gmo
  72. 8417
      po/cs.po
  73. BIN
      po/cy.gmo
  74. 8415
      po/cy.po
  75. BIN
      po/da.gmo
  76. 8411
      po/da.po
  77. BIN
      po/de.gmo
  78. 8434
      po/de.po
  79. BIN
      po/el.gmo
  80. 8425
      po/el.po
  81. BIN
      po/en_GB.gmo
  82. 8437
      po/en_GB.po
  83. BIN
      po/es.gmo
  84. 8436
      po/es.po
  85. BIN
      po/et.gmo
  86. 8411
      po/et.po
  87. BIN
      po/fi.gmo
  88. 8413
      po/fi.po
  89. BIN
      po/fr.gmo
  90. 8424
      po/fr.po
  91. BIN
      po/gl.gmo
  92. 8415
      po/gl.po
  93. BIN
      po/gu.gmo
  94. 8437
      po/gu.po
  95. BIN
      po/he.gmo
  96. 8411
      po/he.po
  97. BIN
      po/hi.gmo
  98. 8434
      po/hi.po
  99. BIN
      po/hu.gmo
  100. 8411
      po/hu.po

4
AUTHORS

@ -138,6 +138,7 @@ Chris Wong <wongc-redhat@hoku.net>
Chris Wright <chrisw@redhat.com>
Christian Benvenuti <benve@cisco.com>
Christian Franke <nobody@nowhere.ws>
Christian Loehle <cloehle@linutronix.de>
Christophe Fergeau <cfergeau@redhat.com>
Chuck Short <chuck.short@canonical.com>
Chuck Short <zulcss@gmail.com>
@ -166,6 +167,7 @@ David Allan <dallan@redhat.com>
David Jorm <dfj@redhat.com>
David L Stevens <dlstevens@us.ibm.com>
David L. Leskovec <dlesko@linux.vnet.ibm.com>
David Mansfield <dmansfield@gmail.com>
David S. Wang <dwang2@cisco.com>
David Shane Holden <dpejesh@yahoo.com>
David Weber <wb@munzinger.de>
@ -266,6 +268,7 @@ John Morrissey <jwm@horde.net>
John Williams <john.williams@petalogix.com>
Jonas Eriksson <jonas.j.eriksson@ericsson.com>
Jonathan Lebon <jlebon@redhat.com>
Jonathan Toppins <jtoppins@cumulusnetworks.com>
Josh Durgin <josh.durgin@inktank.com>
Josh Stone <jistone@redhat.com>
Juerg Haefliger <juerg.haefliger@hp.com>
@ -425,6 +428,7 @@ Sergey Fionov <fionov@gmail.com>
Shahar Klein <shaharklein@yahoo.com>
Shanzhi Yu <shyu@redhat.com>
Sharadha Prabhakar <sharadha.prabhakar@citrix.com>
Shivangi Dhir <shivangi.dhir.02@gmail.com>
Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Shivaprasad G Bhat <shivaprasadbhat@gmail.com>
Shradha Shah <sshah@solarflare.com>

18
COPYING.LESSER

@ -55,7 +55,7 @@ modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
@ -111,7 +111,7 @@ modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@ -158,7 +158,7 @@ Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
@ -216,7 +216,7 @@ instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
@ -267,7 +267,7 @@ Library will still fall under Section 6.)
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
@ -329,7 +329,7 @@ restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
@ -370,7 +370,7 @@ subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
@ -422,7 +422,7 @@ conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
@ -456,7 +456,7 @@ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest

6716
ChangeLog

File diff suppressed because it is too large

4
Makefile.am

@ -23,8 +23,8 @@ SUBDIRS = . gnulib/lib include src daemon tools docs gnulib/tests \
tests po examples/object-events examples/hellolibvirt \
examples/dominfo examples/domsuspend examples/apparmor \
examples/xml/nwfilter examples/openauth examples/systemtap \
tools/wireshark examples/dommigrate \
examples/lxcconvert examples/domtop
tools/wireshark examples/dommigrate examples/polkit \
examples/lxcconvert examples/domtop examples/rename
ACLOCAL_AMFLAGS = -I m4

5
Makefile.in

@ -1769,7 +1769,6 @@ VGCREATE = @VGCREATE@
VGREMOVE = @VGREMOVE@
VGS = @VGS@
VGSCAN = @VGSCAN@
VIRSH_LIBS = @VIRSH_LIBS@
VIR_TEST_EXPENSIVE_DEFAULT = @VIR_TEST_EXPENSIVE_DEFAULT@
WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
@ -1861,8 +1860,8 @@ SUBDIRS = . gnulib/lib include src daemon tools docs gnulib/tests \
tests po examples/object-events examples/hellolibvirt \
examples/dominfo examples/domsuspend examples/apparmor \
examples/xml/nwfilter examples/openauth examples/systemtap \
tools/wireshark examples/dommigrate \
examples/lxcconvert examples/domtop
tools/wireshark examples/dommigrate examples/polkit \
examples/lxcconvert examples/domtop examples/rename
ACLOCAL_AMFLAGS = -I m4
XML_EXAMPLES = \

32
configure

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for libvirt 1.2.19.
# Generated by GNU Autoconf 2.69 for libvirt 1.2.20.
#
# Report bugs to <libvir-list@redhat.com>.
#
@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libvirt'
PACKAGE_TARNAME='libvirt'
PACKAGE_VERSION='1.2.19'
PACKAGE_STRING='libvirt 1.2.19'
PACKAGE_VERSION='1.2.20'
PACKAGE_STRING='libvirt 1.2.20'
PACKAGE_BUGREPORT='libvir-list@redhat.com'
PACKAGE_URL='http://libvirt.org'
@ -822,7 +822,6 @@ WITH_BRIDGE_FALSE
WITH_BRIDGE_TRUE
WITH_NETWORK_FALSE
WITH_NETWORK_TRUE
VIRSH_LIBS
WITH_PM_UTILS_FALSE
WITH_PM_UTILS_TRUE
WITH_PHYP_FALSE
@ -3072,7 +3071,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures libvirt 1.2.19 to adapt to many kinds of systems.
\`configure' configures libvirt 1.2.20 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -3142,7 +3141,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of libvirt 1.2.19:";;
short | recursive ) echo "Configuration of libvirt 1.2.20:";;
esac
cat <<\_ACEOF
@ -3475,7 +3474,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
libvirt configure 1.2.19
libvirt configure 1.2.20
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@ -4184,7 +4183,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libvirt $as_me 1.2.19, which was
It was created by libvirt $as_me 1.2.20, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@ -5178,7 +5177,7 @@ fi
# Define the identity of the package.
PACKAGE='libvirt'
VERSION='1.2.19'
VERSION='1.2.20'
cat >>confdefs.h <<_ACEOF
@ -64370,9 +64369,6 @@ else
fi
VIRSH_LIBS="$VIRSH_LIBS $READLINE_LIBS"
# Check whether --with-network was given.
@ -69789,11 +69785,9 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
ac_config_commands="$ac_config_commands mkdir"
ac_config_files="$ac_config_files run"
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile docs/Makefile docs/schemas/Makefile gnulib/lib/Makefile gnulib/tests/Makefile libvirt.pc libvirt-qemu.pc libvirt-lxc.pc libvirt-admin.pc src/libvirt.pc src/libvirt-qemu.pc src/libvirt-lxc.pc libvirt.spec mingw-libvirt.spec po/Makefile.in include/libvirt/Makefile include/libvirt/libvirt.h daemon/Makefile tools/Makefile tests/Makefile examples/apparmor/Makefile examples/object-events/Makefile examples/domsuspend/Makefile examples/dominfo/Makefile examples/dommigrate/Makefile examples/domtop/Makefile examples/openauth/Makefile examples/hellolibvirt/Makefile examples/systemtap/Makefile examples/xml/nwfilter/Makefile examples/lxcconvert/Makefile tools/wireshark/Makefile tools/wireshark/src/Makefile"
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile docs/Makefile docs/schemas/Makefile gnulib/lib/Makefile gnulib/tests/Makefile libvirt.pc libvirt-qemu.pc libvirt-lxc.pc libvirt-admin.pc src/libvirt.pc src/libvirt-qemu.pc src/libvirt-lxc.pc libvirt.spec mingw-libvirt.spec po/Makefile.in include/libvirt/Makefile include/libvirt/libvirt.h daemon/Makefile tools/Makefile tests/Makefile examples/apparmor/Makefile examples/object-events/Makefile examples/domsuspend/Makefile examples/dominfo/Makefile examples/dommigrate/Makefile examples/domtop/Makefile examples/openauth/Makefile examples/hellolibvirt/Makefile examples/rename/Makefile examples/systemtap/Makefile examples/xml/nwfilter/Makefile examples/lxcconvert/Makefile examples/polkit/Makefile tools/wireshark/Makefile tools/wireshark/src/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@ -70820,7 +70814,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by libvirt $as_me 1.2.19, which was
This file was extended by libvirt $as_me 1.2.20, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -70891,7 +70885,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
libvirt config.status 1.2.19
libvirt config.status 1.2.20
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@ -71312,7 +71306,6 @@ do
"$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;;
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
"mkdir") CONFIG_COMMANDS="$CONFIG_COMMANDS mkdir" ;;
"run") CONFIG_FILES="$CONFIG_FILES run" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
@ -71344,9 +71337,11 @@ do
"examples/domtop/Makefile") CONFIG_FILES="$CONFIG_FILES examples/domtop/Makefile" ;;
"examples/openauth/Makefile") CONFIG_FILES="$CONFIG_FILES examples/openauth/Makefile" ;;
"examples/hellolibvirt/Makefile") CONFIG_FILES="$CONFIG_FILES examples/hellolibvirt/Makefile" ;;
"examples/rename/Makefile") CONFIG_FILES="$CONFIG_FILES examples/rename/Makefile" ;;
"examples/systemtap/Makefile") CONFIG_FILES="$CONFIG_FILES examples/systemtap/Makefile" ;;
"examples/xml/nwfilter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/xml/nwfilter/Makefile" ;;
"examples/lxcconvert/Makefile") CONFIG_FILES="$CONFIG_FILES examples/lxcconvert/Makefile" ;;
"examples/polkit/Makefile") CONFIG_FILES="$CONFIG_FILES examples/polkit/Makefile" ;;
"tools/wireshark/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wireshark/Makefile" ;;
"tools/wireshark/src/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wireshark/src/Makefile" ;;
@ -72815,7 +72810,6 @@ fi
;;
esac
done ;;
"mkdir":C) $MKDIR_P docs/internals ;;
"run":F) chmod +x,-w run ;;
esac

9
configure.ac

@ -16,7 +16,7 @@ dnl You should have received a copy of the GNU Lesser General Public
dnl License along with this library. If not, see
dnl <http://www.gnu.org/licenses/>.
AC_INIT([libvirt], [1.2.19], [libvir-list@redhat.com], [], [http://libvirt.org])
AC_INIT([libvirt], [1.2.20], [libvir-list@redhat.com], [], [http://libvirt.org])
AC_CONFIG_SRCDIR([src/libvirt.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
@ -1670,10 +1670,6 @@ if test "$with_pm_utils" = "yes"; then
fi
AM_CONDITIONAL([WITH_PM_UTILS], [test "$with_pm_utils" = "yes"])
dnl virsh libraries
VIRSH_LIBS="$VIRSH_LIBS $READLINE_LIBS"
AC_SUBST([VIRSH_LIBS])
dnl check if the network driver should be compiled
AC_ARG_WITH([network],
@ -2777,7 +2773,6 @@ AC_DEFINE_UNQUOTED([isbase64],[libvirt_gl_isbase64],[Hack to avoid symbol clash]
AC_DEFINE_UNQUOTED([base64_encode],[libvirt_gl_base64_encode],[Hack to avoid symbol clash])
AC_DEFINE_UNQUOTED([base64_encode_alloc],[libvirt_gl_base64_encode_alloc],[Hack to avoid symbol clash])
AC_CONFIG_COMMANDS([mkdir], [$MKDIR_P docs/internals])
AC_CONFIG_FILES([run],
[chmod +x,-w run])
AC_CONFIG_FILES([\
@ -2806,9 +2801,11 @@ AC_CONFIG_FILES([\
examples/domtop/Makefile \
examples/openauth/Makefile \
examples/hellolibvirt/Makefile \
examples/rename/Makefile \
examples/systemtap/Makefile \
examples/xml/nwfilter/Makefile \
examples/lxcconvert/Makefile \
examples/polkit/Makefile \
tools/wireshark/Makefile \
tools/wireshark/src/Makefile])
AC_OUTPUT

1
daemon/Makefile.in

@ -1801,7 +1801,6 @@ VGCREATE = @VGCREATE@
VGREMOVE = @VGREMOVE@
VGS = @VGS@
VGSCAN = @VGSCAN@
VIRSH_LIBS = @VIRSH_LIBS@
VIR_TEST_EXPENSIVE_DEFAULT = @VIR_TEST_EXPENSIVE_DEFAULT@
WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@

2
daemon/libvirtd.8.in

@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "LIBVIRTD 8"
.TH LIBVIRTD 8 "2015-01-23" "libvirt-1.2.19" "Virtualization Support"
.TH LIBVIRTD 8 "2015-01-23" "libvirt-1.2.20" "Virtualization Support"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l

11
docs/Makefile.am

@ -204,7 +204,7 @@ todo:
rm -f todo.html.in
$(MAKE) todo.html
hvsupport.html:: $(srcdir)/hvsupport.html.in
hvsupport.html: $(srcdir)/hvsupport.html.in
$(srcdir)/hvsupport.html.in: $(srcdir)/hvsupport.pl $(api_DATA) \
$(top_srcdir)/src/libvirt_public.syms \
@ -218,6 +218,15 @@ $(srcdir)/hvsupport.html.in: $(srcdir)/hvsupport.pl $(api_DATA) \
%.png: %.fig
convert -rotate 90 $< $@
internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in
@if [ -x $(XSLTPROC) ] ; then \
echo "Generating $@"; \
$(MKDIR_P) internals; \
name=`echo $@ | sed -e 's/.tmp//'`; \
$(XSLTPROC) --stringparam pagename $$name --nonet \
$(top_srcdir)/docs/subsite.xsl $< > $@ \
|| { rm $@ && exit 1; }; fi
%.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in $(acl_generated)
@if [ -x $(XSLTPROC) ] ; then \
echo "Generating $@"; \

12
docs/Makefile.in

@ -1732,7 +1732,6 @@ VGCREATE = @VGCREATE@
VGREMOVE = @VGREMOVE@
VGS = @VGS@
VGSCAN = @VGSCAN@
VIRSH_LIBS = @VIRSH_LIBS@
VIR_TEST_EXPENSIVE_DEFAULT = @VIR_TEST_EXPENSIVE_DEFAULT@
WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
@ -2352,7 +2351,7 @@ todo:
rm -f todo.html.in
$(MAKE) todo.html
hvsupport.html:: $(srcdir)/hvsupport.html.in
hvsupport.html: $(srcdir)/hvsupport.html.in
$(srcdir)/hvsupport.html.in: $(srcdir)/hvsupport.pl $(api_DATA) \
$(top_srcdir)/src/libvirt_public.syms \
@ -2366,6 +2365,15 @@ $(srcdir)/hvsupport.html.in: $(srcdir)/hvsupport.pl $(api_DATA) \
%.png: %.fig
convert -rotate 90 $< $@
internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in
@if [ -x $(XSLTPROC) ] ; then \
echo "Generating $@"; \
$(MKDIR_P) internals; \
name=`echo $@ | sed -e 's/.tmp//'`; \
$(XSLTPROC) --stringparam pagename $$name --nonet \
$(top_srcdir)/docs/subsite.xsl $< > $@ \
|| { rm $@ && exit 1; }; fi
%.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in $(acl_generated)
@if [ -x $(XSLTPROC) ] ; then \
echo "Generating $@"; \

5
docs/aclpolkit.html

@ -372,6 +372,11 @@
accessible via the <code>id</code> attribute, while the
object identifying attributes are exposed via the
<code>lookup</code> method.
</p>
<p>
See
<a href="http://libvirt.org/git/?p=libvirt.git;a=tree;f=examples/polkit;hb=HEAD" shape="rect">source code</a>
for a more complex example.
</p>
<h3>
<a name="exconnect" shape="rect" id="exconnect">Example: restricting ability to connect to drivers</a>

6
docs/aclpolkit.html.in

@ -348,6 +348,12 @@
<code>lookup</code> method.
</p>
<p>
See
<a href="http://libvirt.org/git/?p=libvirt.git;a=tree;f=examples/polkit;hb=HEAD">source code</a>
for a more complex example.
</p>
<h3><a name="exconnect">Example: restricting ability to connect to drivers</a></h3>
<p>

7
docs/apps.html

@ -301,6 +301,13 @@
storage and networking resources and interface with the user
using a dashboard. Compute part uses libvirt to manage VM
life-cycle, monitoring and so on.
</dd><dt><a href="https://github.com/gustavfranssonnyvell/cherrypop" shape="rect">Cherrypop</a></dt><dd>
A cloud software with no masters or central points. Nodes
autodetect other nodes and autodistribute virtual
machines and autodivide up the workload. Also there is no
minimum limit for hosts, well, one might be nice. It's
perfect for setting up low-end servers in a cloud or a
cloud where you want the most bang for the bucks.
</dd></dl>
<h2>
<a name="libraries" shape="rect" id="libraries">Libraries</a>

10
docs/apps.html.in

@ -262,6 +262,16 @@
using a dashboard. Compute part uses libvirt to manage VM
life-cycle, monitoring and so on.
</dd>
<dt><a href="https://github.com/gustavfranssonnyvell/cherrypop">Cherrypop</a></dt>
<dd>
A cloud software with no masters or central points. Nodes
autodetect other nodes and autodistribute virtual
machines and autodivide up the workload. Also there is no
minimum limit for hosts, well, one might be nice. It's
perfect for setting up low-end servers in a cloud or a
cloud where you want the most bang for the bucks.
</dd>
</dl>
<h2><a name="libraries">Libraries</a></h2>

59
docs/devguide.html

@ -9,7 +9,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="SHORTCUT ICON" href="32favicon.png" />
<title>libvirt: libvirt Application Development Guide</title>
<title>libvirt: libvirt Application Development Guides</title>
<meta name="description" content="libvirt, virtualization, virtualization API" />
</head>
<body>
@ -120,48 +120,31 @@
</li></ul>
</div>
<div id="content">
<h1>libvirt Application Development Guide</h1>
<ul><li>
<a href="#online">Browsable online</a>
</li><li>
<a href="#git">GIT source repository</a>
</li></ul>
<p>
The guide is both a learning tool for developing with libvirt and an
API reference document. It is a work in progress, composed by a
professional author from contributions written by members of the
libvirt team.
</p>
<h1>libvirt Application Development Guides</h1>
<p>
Contributions to the guide are <b>VERY</b> welcome. If you'd like to get
your name on this and demonstrate your virtualisation prowess, a solid
contribution to the content here will do it. :)
The libvirt API is accessible from a number of programming languages.
At this time, there are application development guides available
which cover the C API and the Python API. Of the two, the Python guide
is currently the more comprehensive document.
</p>
<h2>
<a name="online" shape="rect" id="online">Browsable online</a>
<a class="headerlink" href="#online" title="Permalink to this headline"></a>
</h2>
<ul><li><a href="http://libvirt.org/guide/html/" shape="rect">
HTML format using multiple pages</a></li><li><a href="http://libvirt.org/guide/html-single/" shape="rect">
HTML format using one big page</a></li><li><a href="http://libvirt.org/guide/pdf/Application_Development_Guide.pdf" shape="rect">
PDF format</a></li><li><a href="http://libvirt.org/guide/libvirt-0.7.5-Application_Development_Guide-en-US.epub" shape="rect">
ePub format</a></li><li><a href="http://libvirt.org/guide/txt/Application_Development_Guide.txt" shape="rect">
Plain text format</a></li><li><a href="http://libvirt.org/guide/libvirt-Application_Development_Guide-0.7.5-web-en-US-1-9.el5.src.rpm" shape="rect">
Source RPM format</a></li></ul>
<h2>
<a name="git" shape="rect" id="git">GIT source repository</a>
<a class="headerlink" href="#git" title="Permalink to this headline"></a>
</h2>
<p>
The source is in a git repository:
</p>
<pre xml:space="preserve">
git clone git://libvirt.org/libvirt-appdev-guide.git</pre>
<ul><li><a href="http://libvirt.org/docs/libvirt-appdev-guide/en-US/html/" shape="rect">Application Development Guide (C language) HTML</a></li><li><a href="http://libvirt.org/docs/libvirt-appdev-guide/en-US/pdf/" shape="rect">Application Development Guide (C language) PDF</a></li><li><a href="http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/" shape="rect">Application Development Guide (Python language) HTML</a></li><li><a href="http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/pdf/" shape="rect">Application Development Guide (Python language) PDF</a></li></ul>
<h2>Contributing content</h2>
<p>
Browsable here:
These guides are written in DocBook and published with the
publican tool, which is also used for Fedora and Red Hat
documentation. The original content is provided in GIT and
any contributions to the guide are welcome.
</p>
<pre xml:space="preserve">
<a href="http://libvirt.org/git/?p=libvirt-appdev-guide.git;a=summary" shape="rect">http://libvirt.org/git/?p=libvirt-appdev-guide.git;a=summary</a></pre>
# C language
$ git clone <a href="http://libvirt.org/git/?p=libvirt-appdev-guide.git" shape="rect">git://libvirt.org/libvirt-appdev-guide.git</a>
# Python language
$ git clone <a href="http://libvirt.org/git/?p=libvirt-appdev-guide-python.git" shape="rect">git://libvirt.org/libvirt-appdev-guide-python.git</a>
# Publican Style/Theme
$ git clone <a href="http://libvirt.org/git/?p=libvirt-publican.git" shape="rect">git://libvirt.org/libvirt-publican.git</a>
</pre>
</div>
</div>
<div id="footer">

56
docs/devguide.html.in

@ -2,55 +2,41 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<h1>libvirt Application Development Guide</h1>
<ul id="toc"></ul>
<p>
The guide is both a learning tool for developing with libvirt and an
API reference document. It is a work in progress, composed by a
professional author from contributions written by members of the
libvirt team.
</p>
<h1>libvirt Application Development Guides</h1>
<p>
Contributions to the guide are <b>VERY</b> welcome. If you'd like to get
your name on this and demonstrate your virtualisation prowess, a solid
contribution to the content here will do it. :)
The libvirt API is accessible from a number of programming languages.
At this time, there are application development guides available
which cover the C API and the Python API. Of the two, the Python guide
is currently the more comprehensive document.
</p>
<h2><a name="online">Browsable online</a></h2>
<ul>
<li><a href="http://libvirt.org/guide/html/">
HTML format using multiple pages</a></li>
<li><a href="http://libvirt.org/guide/html-single/">
HTML format using one big page</a></li>
<li><a href="http://libvirt.org/guide/pdf/Application_Development_Guide.pdf">
PDF format</a></li>
<li><a href="http://libvirt.org/guide/libvirt-0.7.5-Application_Development_Guide-en-US.epub">
ePub format</a></li>
<li><a href="http://libvirt.org/guide/txt/Application_Development_Guide.txt">
Plain text format</a></li>
<li><a href="http://libvirt.org/guide/libvirt-Application_Development_Guide-0.7.5-web-en-US-1-9.el5.src.rpm">
Source RPM format</a></li>
<li><a href="http://libvirt.org/docs/libvirt-appdev-guide/en-US/html/">Application Development Guide (C language) HTML</a></li>
<li><a href="http://libvirt.org/docs/libvirt-appdev-guide/en-US/pdf/">Application Development Guide (C language) PDF</a></li>
<li><a href="http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/">Application Development Guide (Python language) HTML</a></li>
<li><a href="http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/pdf/">Application Development Guide (Python language) PDF</a></li>
</ul>
<h2><a name="git">GIT source repository</a></h2>
<h2>Contributing content</h2>
<p>
The source is in a git repository:
These guides are written in DocBook and published with the
publican tool, which is also used for Fedora and Red Hat
documentation. The original content is provided in GIT and
any contributions to the guide are welcome.
</p>
<pre>
git clone git://libvirt.org/libvirt-appdev-guide.git</pre>
# C language
$ git clone <a href="http://libvirt.org/git/?p=libvirt-appdev-guide.git">git://libvirt.org/libvirt-appdev-guide.git</a>
<p>
Browsable here:
</p>
# Python language
$ git clone <a href="http://libvirt.org/git/?p=libvirt-appdev-guide-python.git">git://libvirt.org/libvirt-appdev-guide-python.git</a>
<pre>
<a href="http://libvirt.org/git/?p=libvirt-appdev-guide.git;a=summary">http://libvirt.org/git/?p=libvirt-appdev-guide.git;a=summary</a></pre>
# Publican Style/Theme
$ git clone <a href="http://libvirt.org/git/?p=libvirt-publican.git">git://libvirt.org/libvirt-publican.git</a>
</pre>
</body>
</html>

2
docs/formatcaps.html

@ -275,7 +275,7 @@
&lt;suspend_mem/&gt;
&lt;suspend_disk/&gt;
&lt;suspend_hybrid/&gt;
&lt;power_management/&gt;
&lt;/power_management&gt;
&lt;/host&gt;</span>
&lt;!-- xen-3.0-x86_64 --&gt;

2
docs/formatcaps.html.in

@ -162,7 +162,7 @@
&lt;suspend_mem/&gt;
&lt;suspend_disk/&gt;
&lt;suspend_hybrid/&gt;
&lt;power_management/&gt;
&lt;/power_management&gt;
&lt;/host&gt;</span>
&lt;!-- xen-3.0-x86_64 --&gt;

26
docs/formatdomain.html

@ -248,6 +248,8 @@
<a href="#elementsNICSMulticast">Multicast tunnel</a>
</li><li>
<a href="#elementsNICSTCP">TCP tunnel</a>
</li><li>
<a href="#elementsNICSUDP">UDP unicast tunnel</a>
</li><li>
<a href="#elementsNICSModel">Setting the NIC model</a>
</li><li>
@ -3811,6 +3813,30 @@
&lt;source address='192.168.0.1' port='5558'/&gt;
&lt;/interface&gt;
&lt;/devices&gt;
...</pre>
<h5>
<a name="elementsNICSUDP" shape="rect" id="elementsNICSUDP">UDP unicast tunnel</a>
<a class="headerlink" href="#elementsNICSUDP" title="Permalink to this headline"></a>
</h5>
<p>
A UDP unicast architecture provides a virtual network which enables
connections between QEMU instances using QEMU's UDP infrastructure.
The xml "source" address is the endpoint address to which the UDP socket
packets will be sent from the host running QEMU.
The xml "local" address is the address of the interface from which the
UDP socket packets will originate from the QEMU host.
<span class="since">Since 1.2.20</span></p>
<pre xml:space="preserve">
...
&lt;devices&gt;
&lt;interface type='udp'&gt;
&lt;mac address='52:54:00:22:c9:42'/&gt;
&lt;source address='127.0.0.1' port='11115'&gt;
&lt;local address='127.0.0.1' port='11116'/&gt;
&lt;/source&gt;
&lt;/interface&gt;
&lt;/devices&gt;
...</pre>
<h5>
<a name="elementsNICSModel" shape="rect" id="elementsNICSModel">Setting the NIC model</a>

24
docs/formatdomain.html.in

@ -4258,6 +4258,30 @@
&lt;source address='192.168.0.1' port='5558'/&gt;
&lt;/interface&gt;
&lt;/devices&gt;
...</pre>
<h5><a name="elementsNICSUDP">UDP unicast tunnel</a></h5>
<p>
A UDP unicast architecture provides a virtual network which enables
connections between QEMU instances using QEMU's UDP infrastructure.
The xml "source" address is the endpoint address to which the UDP socket
packets will be sent from the host running QEMU.
The xml "local" address is the address of the interface from which the
UDP socket packets will originate from the QEMU host.
<span class="since">Since 1.2.20</span></p>
<pre>
...
&lt;devices&gt;
&lt;interface type='udp'&gt;
&lt;mac address='52:54:00:22:c9:42'/&gt;
&lt;source address='127.0.0.1' port='11115'&gt;
&lt;local address='127.0.0.1' port='11116'/&gt;
&lt;/source&gt;
&lt;/interface&gt;
&lt;/devices&gt;
...</pre>
<h5><a name="elementsNICSModel">Setting the NIC model</a></h5>

2
docs/html/libvirt-libvirt-domain.html

@ -874,7 +874,7 @@ free(domains);</pre></div><dl class="variablelist"><dt>conn</dt><dd>Pointer to t
<span class="type">unsigned int</span> dumpformat,
<span class="type">unsigned int</span> flags)</pre><div class="description"><p>This method will dump the core of a domain on a given file for analysis. Note that for remote Xen Daemon the file path will be interpreted in the remote host. Hypervisors may require the user to manually ensure proper permissions on the file named by @to.</p><p>@dumpformat controls which format the dump will have; use of <a href="libvirt-libvirt-domain.html#VIR_DOMAIN_CORE_DUMP_FORMAT_RAW">VIR_DOMAIN_CORE_DUMP_FORMAT_RAW</a> mirrors what <a href="libvirt-libvirt-domain.html#virDomainCoreDump">virDomainCoreDump</a>() will perform. Not all hypervisors are able to support all formats.</p><p>If @flags includes <a href="libvirt-libvirt-domain.html#VIR_DUMP_CRASH">VIR_DUMP_CRASH</a>, then leave the guest shut off with a crashed state after the dump completes. If @flags includes <a href="libvirt-libvirt-domain.html#VIR_DUMP_LIVE">VIR_DUMP_LIVE</a>, then make the core dump while continuing to allow the guest to run; otherwise, the guest is suspended during the dump. <a href="libvirt-libvirt-domain.html#VIR_DUMP_RESET">VIR_DUMP_RESET</a> flag forces reset of the guest after dump. The above three flags are mutually exclusive.</p><p>Additionally, if @flags includes <a href="libvirt-libvirt-domain.html#VIR_DUMP_BYPASS_CACHE">VIR_DUMP_BYPASS_CACHE</a>, then libvirt will attempt to bypass the file system cache while creating the file, or fail if it cannot do so for the given system; this can allow less pressure on file system cache, but also risks slowing saves to NFS.</p></div><dl class="variablelist"><dt>domain</dt><dd>a domain object</dd><dt>to</dt><dd>path for the core file</dd><dt>dumpformat</dt><dd>format of domain memory's dump (one of <a href="libvirt-libvirt-domain.html#virDomainCoreDumpFormat">virDomainCoreDumpFormat</a> enum)</dd><dt>flags</dt><dd>bitwise-OR of <a href="libvirt-libvirt-domain.html#virDomainCoreDumpFlags">virDomainCoreDumpFlags</a></dd><dt>Returns</dt><dd>0 in case of success and -1 in case of failure.</dd></dl><div class="acl"></div><h3><a name="virDomainCreate" id="virDomainCreate"><code>virDomainCreate</code></a><a class="headerlink" href="#virDomainCreate" title="Permalink to this headline"></a></h3><pre class="api"><span class="type">int</span> virDomainCreate (<span class="type"><a href="libvirt-libvirt-domain.html#virDomainPtr">virDomainPtr</a></span> domain)</pre><div class="description"><p>Launch a defined domain. If the call succeeds the domain moves from the defined to the running domains pools. The domain will be paused only if restoring from managed state created from a paused domain. For more control, see <a href="libvirt-libvirt-domain.html#virDomainCreateWithFlags">virDomainCreateWithFlags</a>().</p></div><dl class="variablelist"><dt>domain</dt><dd>pointer to a defined domain</dd><dt>Returns</dt><dd>0 in case of success, -1 in case of error</dd></dl><div class="acl"></div><h3><a name="virDomainCreateLinux" id="virDomainCreateLinux"><code>virDomainCreateLinux</code></a><a class="headerlink" href="#virDomainCreateLinux" title="Permalink to this headline"></a></h3><pre class="api"><span class="type"><a href="libvirt-libvirt-domain.html#virDomainPtr">virDomainPtr</a></span> virDomainCreateLinux (<span class="type"><a href="libvirt-libvirt-host.html#virConnectPtr">virConnectPtr</a></span> conn,
<span class="type">const char *</span> xmlDesc,
<span class="type">unsigned int</span> flags)</pre><div class="description"><p>Deprecated after 0.4.6. Renamed to <a href="libvirt-libvirt-domain.html#virDomainCreateXML">virDomainCreateXML</a>() providing identical functionality. This existing name will left indefinitely for API compatibility.</p></div><dl class="variablelist"><dt>conn</dt><dd>pointer to the hypervisor connection</dd><dt>xmlDesc</dt><dd>string containing an XML description of the domain</dd><dt>flags</dt><dd>extra flags; not used yet, so callers should always pass 0</dd><dt>Returns</dt><dd>a new domain object or NULL in case of failure</dd></dl><div class="acl"></div><h3><a name="virDomainCreateWithFiles" id="virDomainCreateWithFiles"><code>virDomainCreateWithFiles</code></a><a class="headerlink" href="#virDomainCreateWithFiles" title="Permalink to this headline"></a></h3><pre class="api"><span class="type">int</span> virDomainCreateWithFiles (<span class="type"><a href="libvirt-libvirt-domain.html#virDomainPtr">virDomainPtr</a></span> domain,
<span class="type">unsigned int</span> flags)</pre><div class="description"><p>Deprecated after 0.4.6. Renamed to <a href="libvirt-libvirt-domain.html#virDomainCreateXML">virDomainCreateXML</a>() providing identical functionality. This existing name will be left indefinitely for API compatibility.</p></div><dl class="variablelist"><dt>conn</dt><dd>pointer to the hypervisor connection</dd><dt>xmlDesc</dt><dd>string containing an XML description of the domain</dd><dt>flags</dt><dd>extra flags; not used yet, so callers should always pass 0</dd><dt>Returns</dt><dd>a new domain object or NULL in case of failure</dd></dl><div class="acl"></div><h3><a name="virDomainCreateWithFiles" id="virDomainCreateWithFiles"><code>virDomainCreateWithFiles</code></a><a class="headerlink" href="#virDomainCreateWithFiles" title="Permalink to this headline"></a></h3><pre class="api"><span class="type">int</span> virDomainCreateWithFiles (<span class="type"><a href="libvirt-libvirt-domain.html#virDomainPtr">virDomainPtr</a></span> domain,
<span class="type">unsigned int</span> nfiles,
<span class="type">int *</span> files,
<span class="type">unsigned int</span> flags)</pre><div class="description"><p>Launch a defined domain. If the call succeeds the domain moves from the defined to the running domains pools.</p><p>@files provides an array of file descriptors which will be made available to the 'init' process of the guest. The file handles exposed to the guest will be renumbered to start from 3 (ie immediately following stderr). This is only supported for guests which use container based virtualization technology.</p><p>If the <a href="libvirt-libvirt-domain.html#VIR_DOMAIN_START_PAUSED">VIR_DOMAIN_START_PAUSED</a> flag is set, or if the guest domain has a managed save image that requested paused state (see <a href="libvirt-libvirt-domain.html#virDomainManagedSave">virDomainManagedSave</a>()) the guest domain will be started, but its CPUs will remain paused. The CPUs can later be manually started using <a href="libvirt-libvirt-domain.html#virDomainResume">virDomainResume</a>(). In all other cases, the guest domain will be running.</p><p>If the <a href="libvirt-libvirt-domain.html#VIR_DOMAIN_START_AUTODESTROY">VIR_DOMAIN_START_AUTODESTROY</a> flag is set, the guest domain will be automatically destroyed when the <a href="libvirt-libvirt-host.html#virConnectPtr">virConnectPtr</a> object is finally released. This will also happen if the client application crashes / loses its connection to the libvirtd daemon. Any domains marked for auto destroy will block attempts at migration, save-to-file, or snapshots.</p><p>If the <a href="libvirt-libvirt-domain.html#VIR_DOMAIN_START_BYPASS_CACHE">VIR_DOMAIN_START_BYPASS_CACHE</a> flag is set, and there is a managed save file for this domain (created by <a href="libvirt-libvirt-domain.html#virDomainManagedSave">virDomainManagedSave</a>()), then libvirt will attempt to bypass the file system cache while restoring the file, or fail if it cannot do so for the given system; this can allow less pressure on file system cache, but also risks slowing loads from NFS.</p><p>If the <a href="libvirt-libvirt-domain.html#VIR_DOMAIN_START_FORCE_BOOT">VIR_DOMAIN_START_FORCE_BOOT</a> flag is set, then any managed save file for this domain is discarded, and the domain boots from scratch.</p></div><dl class="variablelist"><dt>domain</dt><dd>pointer to a defined domain</dd><dt>nfiles</dt><dd>number of file descriptors passed</dd><dt>files</dt><dd>list of file descriptors passed</dd><dt>flags</dt><dd>bitwise-OR of supported <a href="libvirt-libvirt-domain.html#virDomainCreateFlags">virDomainCreateFlags</a></dd><dt>Returns</dt><dd>0 in case of success, -1 in case of error</dd></dl><div class="acl"></div><h3><a name="virDomainCreateWithFlags" id="virDomainCreateWithFlags"><code>virDomainCreateWithFlags</code></a><a class="headerlink" href="#virDomainCreateWithFlags" title="Permalink to this headline"></a></h3><pre class="api"><span class="type">int</span> virDomainCreateWithFlags (<span class="type"><a href="libvirt-libvirt-domain.html#virDomainPtr">virDomainPtr</a></span> domain,

64
docs/internals/command.html

@ -7,8 +7,8 @@
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="SHORTCUT ICON" href="32favicon.png" />
<link rel="stylesheet" type="text/css" href="../main.css" />
<link rel="SHORTCUT ICON" href="../32favicon.png" />
<title>libvirt: Spawning processes / commands from libvirt drivers</title>
<meta name="description" content="libvirt, virtualization, virtualization API" />
</head>
@ -16,7 +16,7 @@
<div id="header">
<div id="headerLogo"></div>
<div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" />
</div></form>
@ -26,61 +26,61 @@
<div id="menu">
<ul class="l0"><li>
<div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
<a title="Front page of the libvirt website" class="inactive" href="../index.html">Home</a>
</div>
</li><li>
<div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="../news.html">News</a>
</div>
</li><li>
<div>
<a title="Applications known to use libvirt" class="inactive" href="apps.html">Applications</a>
<a title="Applications known to use libvirt" class="inactive" href="../apps.html">Applications</a>
</div>
</li><li>
<div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="../downloads.html">Downloads</a>
</div>
</li><li>
<div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<a title="Information for users, administrators and developers" class="active" href="../docs.html">Documentation</a>
<ul class="l1"><li>
<div>
<a title="How to compile libvirt" class="inactive" href="compiling.html">Compiling</a>
<a title="How to compile libvirt" class="inactive" href="../compiling.html">Compiling</a>
</div>
</li><li>
<div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
<a title="Information about deploying and using libvirt" class="inactive" href="../deployment.html">Deployment</a>
</div>
</li><li>
<div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="../intro.html">Architecture</a>
</div>
</li><li>
<div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
<a title="Description of the XML formats used in libvirt" class="inactive" href="../format.html">XML format</a>
</div>
</li><li>
<div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
<a title="Hypervisor specific driver information" class="inactive" href="../drivers.html">Drivers</a>
</div>
</li><li>
<div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
<a title="Reference manual for the C public API" class="inactive" href="../html/index.html">API reference</a>
</div>
</li><li>
<div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="../bindings.html">Language bindings</a>
</div>
</li><li>
<div>
<a title="Working on the internals of libvirt API, driver and daemon code" class="active" href="internals.html">Internals</a>
<a title="Working on the internals of libvirt API, driver and daemon code" class="active" href="../internals.html">Internals</a>
<ul class="l2"><li>
<div>
<a title="General hacking guidelines for contributors" class="inactive" href="hacking.html">Contributor guidelines</a>
<a title="General hacking guidelines for contributors" class="inactive" href="../hacking.html">Contributor guidelines</a>
</div>
</li><li>
<div>
<a title="Adding new public libvirt APIs" class="inactive" href="api_extension.html">API extensions</a>
<a title="Adding new public libvirt APIs" class="inactive" href="../api_extension.html">API extensions</a>
</div>
</li><li>
<div>
@ -88,29 +88,29 @@
</div>
</li><li>
<div>
<a title="RPC protocol information and API / dispatch guide" class="inactive" href="internals/rpc.html">RPC protocol &amp; APIs</a>
<a title="RPC protocol information and API / dispatch guide" class="inactive" href="../internals/rpc.html">RPC protocol &amp; APIs</a>
</div>
</li><li>
<div>
<a title="Use lock managers to protect disk content" class="inactive" href="internals/locking.html">Lock managers</a>
<a title="Use lock managers to protect disk content" class="inactive" href="../internals/locking.html">Lock managers</a>
</div>
</li><li>
<div>
<a title="Simulating OOM conditions in the test suite" class="inactive" href="internals/oomtesting.html">Out of memory testing</a>
<a title="Simulating OOM conditions in the test suite" class="inactive" href="../internals/oomtesting.html">Out of memory testing</a>
</div>
</li></ul>
</div>
</li><li>
<div>
<a title="A guide and reference for developing with libvirt" class="inactive" href="devguide.html">Development Guide</a>
<a title="A guide and reference for developing with libvirt" class="inactive" href="../devguide.html">Development Guide</a>
</div>
</li><li>
<div>
<a title="Command reference for virsh" class="inactive" href="virshcmdref.html">Virsh Commands</a>
<a title="Command reference for virsh" class="inactive" href="../virshcmdref.html">Virsh Commands</a>
</div>
</li><li>
<div>
<a title="Project governance and code of conduct" class="inactive" href="governance.html">Governance</a>
<a title="Project governance and code of conduct" class="inactive" href="../governance.html">Governance</a>
</div>
</li></ul>
</div>
@ -124,23 +124,23 @@
</div>
</li><li>
<div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
<a title="How and where to report bugs and request features" class="inactive" href="../bugs.html">Bug reports</a>
</div>
</li><li>
<div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
<a title="How to contact the developers via email and IRC" class="inactive" href="../contact.html">Contact</a>
</div>
</li><li>
<div>
<a title="Available test suites for libvirt" class="inactive" href="testsuites.html">Test suites</a>
<a title="Available test suites for libvirt" class="inactive" href="../testsuites.html">Test suites</a>
</div>
</li><li>
<div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="../relatedlinks.html">Related Links</a>
</div>
</li><li>
<div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
<a title="Overview of all content on the website" class="inactive" href="../sitemap.html">Sitemap</a>
</div>
</li></ul>
</div>
@ -236,8 +236,8 @@
There is now a high level API that provides a safe and
flexible way to spawn commands, which prevents the most
common errors &amp; is easy to code against. This
code is provided in the <code>src/util/command.h</code>
header which can be imported using <code>#include "command.h"</code>
code is provided in the <code>src/util/vircommand.h</code>
header which can be imported using <code>#include "vircommand.h"</code>
</p>
<h3>
<a name="initial" shape="rect" id="initial">Defining commands in libvirt</a>
@ -733,7 +733,7 @@ int runhook(const char *drvstr, const char *id,
</div>
<div id="footer">
<p id="sponsor">
Sponsored by:<br /><a href="http://et.redhat.com/"><img src="et.png" alt="Project sponsored by Red Hat Emerging Technology" /></a></p>
Sponsored by:<br /><a href="http://et.redhat.com/"><img src="../et.png" alt="Project sponsored by Red Hat Emerging Technology" /></a></p>
</div>
</body>
</html>

4
docs/internals/command.html.in

@ -68,8 +68,8 @@
There is now a high level API that provides a safe and
flexible way to spawn commands, which prevents the most
common errors &amp; is easy to code against. This
code is provided in the <code>src/util/command.h</code>
header which can be imported using <code>#include "command.h"</code>
code is provided in the <code>src/util/vircommand.h</code>
header which can be imported using <code>#include "vircommand.h"</code>
</p>
<h3><a name="initial">Defining commands in libvirt</a></h3>

60
docs/internals/locking.html

@ -7,8 +7,8 @@
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="SHORTCUT ICON" href="32favicon.png" />
<link rel="stylesheet" type="text/css" href="../main.css" />
<link rel="SHORTCUT ICON" href="../32favicon.png" />
<title>libvirt: Resource Lock Manager</title>
<meta name="description" content="libvirt, virtualization, virtualization API" />
</head>
@ -16,7 +16,7 @@
<div id="header">
<div id="headerLogo"></div>
<div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" />
</div></form>
@ -26,69 +26,69 @@
<div id="menu">
<ul class="l0"><li>
<div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
<a title="Front page of the libvirt website" class="inactive" href="../index.html">Home</a>
</div>
</li><li>
<div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="../news.html">News</a>
</div>
</li><li>
<div>
<a title="Applications known to use libvirt" class="inactive" href="apps.html">Applications</a>
<a title="Applications known to use libvirt" class="inactive" href="../apps.html">Applications</a>
</div>
</li><li>
<div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="../downloads.html">Downloads</a>
</div>
</li><li>
<div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<a title="Information for users, administrators and developers" class="active" href="../docs.html">Documentation</a>
<ul class="l1"><li>
<div>
<a title="How to compile libvirt" class="inactive" href="compiling.html">Compiling</a>
<a title="How to compile libvirt" class="inactive" href="../compiling.html">Compiling</a>
</div>
</li><li>
<div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
<a title="Information about deploying and using libvirt" class="inactive" href="../deployment.html">Deployment</a>
</div>
</li><li>
<div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="../intro.html">Architecture</a>
</div>
</li><li>
<div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
<a title="Description of the XML formats used in libvirt" class="inactive" href="../format.html">XML format</a>
</div>
</li><li>
<div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
<a title="Hypervisor specific driver information" class="inactive" href="../drivers.html">Drivers</a>
</div>
</li><li>
<div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
<a title="Reference manual for the C public API" class="inactive" href="../html/index.html">API reference</a>
</div>
</li><li>
<div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="../bindings.html">Language bindings</a>
</div>
</li><li>
<div>
<a title="Working on the internals of libvirt API, driver and daemon code" class="active" href="internals.html">Internals</a>
<a title="Working on the internals of libvirt API, driver and daemon code" class="active" href="../internals.html">Internals</a>
<ul class="l2"><li>
<div>
<a title="General hacking guidelines for contributors" class="inactive" href="hacking.html">Contributor guidelines</a>
<a title="General hacking guidelines for contributors" class="inactive" href="../hacking.html">Contributor guidelines</a>
</div>
</li><li>
<div>
<a title="Adding new public libvirt APIs" class="inactive" href="api_extension.html">API extensions</a>
<a title="Adding new public libvirt APIs" class="inactive" href="../api_extension.html">API extensions</a>
</div>
</li><li>
<div>
<a title="Spawning commands from libvirt driver code" class="inactive" href="internals/command.html">Spawning commands</a>
<a title="Spawning commands from libvirt driver code" class="inactive" href="../internals/command.html">Spawning commands</a>
</div>
</li><li>
<div>
<a title="RPC protocol information and API / dispatch guide" class="inactive" href="internals/rpc.html">RPC protocol &amp; APIs</a>
<a title="RPC protocol information and API / dispatch guide" class="inactive" href="../internals/rpc.html">RPC protocol &amp; APIs</a>
</div>
</li><li>
<div>
@ -96,21 +96,21 @@
</div>
</li><li>
<div>
<a title="Simulating OOM conditions in the test suite" class="inactive" href="internals/oomtesting.html">Out of memory testing</a>
<a title="Simulating OOM conditions in the test suite" class="inactive" href="../internals/oomtesting.html">Out of memory testing</a>
</div>
</li></ul>
</div>
</li><li>
<div>
<a title="A guide and reference for developing with libvirt" class="inactive" href="devguide.html">Development Guide</a>
<a title="A guide and reference for developing with libvirt" class="inactive" href="../devguide.html">Development Guide</a>
</div>
</li><li>
<div>
<a title="Command reference for virsh" class="inactive" href="virshcmdref.html">Virsh Commands</a>
<a title="Command reference for virsh" class="inactive" href="../virshcmdref.html">Virsh Commands</a>
</div>
</li><li>
<div>
<a title="Project governance and code of conduct" class="inactive" href="governance.html">Governance</a>
<a title="Project governance and code of conduct" class="inactive" href="../governance.html">Governance</a>
</div>
</li></ul>
</div>
@ -124,23 +124,23 @@
</div>
</li><li>
<div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
<a title="How and where to report bugs and request features" class="inactive" href="../bugs.html">Bug reports</a>
</div>
</li><li>
<div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
<a title="How to contact the developers via email and IRC" class="inactive" href="../contact.html">Contact</a>
</div>
</li><li>
<div>
<a title="Available test suites for libvirt" class="inactive" href="testsuites.html">Test suites</a>
<a title="Available test suites for libvirt" class="inactive" href="../testsuites.html">Test suites</a>
</div>
</li><li>
<div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="../relatedlinks.html">Related Links</a>
</div>
</li><li>
<div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
<a title="Overview of all content on the website" class="inactive" href="../sitemap.html">Sitemap</a>
</div>
</li></ul>
</div>
@ -404,7 +404,7 @@
</div>
<div id="footer">
<p id="sponsor">
Sponsored by:<br /><a href="http://et.redhat.com/"><img src="et.png" alt="Project sponsored by Red Hat Emerging Technology" /></a></p>
Sponsored by:<br /><a href="http://et.redhat.com/"><img src="../et.png" alt="Project sponsored by Red Hat Emerging Technology" /></a></p>
</div>
</body>
</html>

60
docs/internals/oomtesting.html

@ -7,8 +7,8 @@
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="SHORTCUT ICON" href="32favicon.png" />
<link rel="stylesheet" type="text/css" href="../main.css" />
<link rel="SHORTCUT ICON" href="../32favicon.png" />
<title>libvirt: Out of memory testing</title>
<meta name="description" content="libvirt, virtualization, virtualization API" />
</head>
@ -16,7 +16,7 @@
<div id="header">
<div id="headerLogo"></div>
<div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" />
</div></form>
@ -26,73 +26,73 @@
<div id="menu">
<ul class="l0"><li>
<div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
<a title="Front page of the libvirt website" class="inactive" href="../index.html">Home</a>
</div>
</li><li>
<div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="../news.html">News</a>
</div>
</li><li>
<div>
<a title="Applications known to use libvirt" class="inactive" href="apps.html">Applications</a>
<a title="Applications known to use libvirt" class="inactive" href="../apps.html">Applications</a>
</div>
</li><li>
<div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="../downloads.html">Downloads</a>
</div>
</li><li>
<div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<a title="Information for users, administrators and developers" class="active" href="../docs.html">Documentation</a>
<ul class="l1"><li>
<div>
<a title="How to compile libvirt" class="inactive" href="compiling.html">Compiling</a>
<a title="How to compile libvirt" class="inactive" href="../compiling.html">Compiling</a>
</div>
</li><li>
<div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
<a title="Information about deploying and using libvirt" class="inactive" href="../deployment.html">Deployment</a>