From e04912a9f04a26f82f5d7711260ef15e02b4967a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 5 Feb 2008 19:27:37 +0000 Subject: [PATCH] Remove all trailing blanks; turn on the rule to detect them. * Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank. * .x-sc_trailing_blank: New file, to exempt the few binary files. --- .x-sc_trailing_blank | 3 ++ ChangeLog | 6 +++ Makefile.cfg | 1 - NEWS | 66 ++++++++++++------------ TODO | 4 +- autobuild.sh | 2 +- autogen.sh | 4 +- docs/ChangeLog.awk | 6 +-- docs/ChangeLog.xsl | 6 +-- docs/Makefile.am | 2 +- docs/apibuild.py | 36 ++++++------- docs/devhelp/Makefile.am | 2 +- docs/devhelp/style.css | 22 ++++---- docs/examples/Makefile.am | 6 +-- docs/examples/examples.xsl | 4 +- docs/examples/python/README | 4 +- docs/examples/python/dominfo.py | 2 +- docs/examples/python/domsave.py | 2 +- docs/examples/python/domstart.py | 2 +- docs/examples/suspend.c | 4 +- docs/format.html | 6 +-- docs/html/libvirt-libvirt.html | 2 +- docs/index.py | 38 +++++++------- docs/library.xen | 10 ++-- docs/libvir.html | 48 ++++++++--------- docs/libvirt.rng | 6 +-- docs/newapi.xsl | 2 +- docs/news.html | 38 +++++++------- docs/news.xsl | 2 +- docs/search.php | 6 +-- docs/site.xsl | 4 +- docs/testnode.xml | 2 +- docs/uri.html | 2 +- docs/virsh.pod | 58 ++++++++++----------- docs/windows.html | 2 +- include/libvirt/libvirt.h | 10 ++-- include/libvirt/libvirt.h.in | 10 ++-- libvirt.spec.in | 6 +-- po/ru.po | 2 +- po/sv.po | 6 +-- proxy/libvirt_proxy.c | 16 +++--- python/Makefile.am | 2 +- python/generator.py | 8 +-- python/libvir.c | 6 +-- python/tests/create.py | 2 +- python/tests/uuid.py | 2 +- python/types.c | 2 +- qemud/libvirtd.sasl | 2 +- qemud/mdns.c | 4 +- qemud/mdns.h | 2 +- src/bridge.c | 6 +-- src/buf.c | 2 +- src/conf.c | 8 +-- src/driver.h | 4 +- src/hash.c | 2 +- src/iptables.c | 12 ++--- src/libvirt.c | 60 +++++++++++----------- src/openvz_conf.c | 76 +++++++++++++-------------- src/openvz_conf.h | 6 +-- src/openvz_driver.c | 82 ++++++++++++++--------------- src/openvz_driver.h | 2 +- src/proxy_internal.c | 18 +++---- src/proxy_internal.h | 2 +- src/qemu.conf | 4 +- src/qemu_conf.c | 10 ++-- src/qemu_driver.c | 10 ++-- src/remote_internal.c | 28 +++++----- src/sexpr.c | 2 +- src/util.c | 12 ++--- src/virsh.c | 2 +- src/virterror.c | 4 +- src/xen_internal.c | 20 ++++---- src/xen_unified.c | 16 +++--- src/xend_internal.c | 38 +++++++------- src/xend_internal.h | 6 +-- src/xm_internal.c | 2 +- src/xml.c | 10 ++-- src/xmlrpc.c | 32 ++++++------ src/xs_internal.c | 12 ++--- tests/reconnect.c | 2 +- tests/test_conf.sh | 2 +- tests/testutils.h | 2 +- tests/virshtest.c | 6 +-- tests/xml2sexprtest.c | 2 +- tests/xmlrpctest.c | 88 ++++++++++++++++---------------- virsh.1 | 42 +++++++-------- 86 files changed, 565 insertions(+), 557 deletions(-) create mode 100644 .x-sc_trailing_blank diff --git a/.x-sc_trailing_blank b/.x-sc_trailing_blank new file mode 100644 index 0000000000..9c6439d0ac --- /dev/null +++ b/.x-sc_trailing_blank @@ -0,0 +1,3 @@ +\.png$ +\.fig$ +\.gif$ diff --git a/ChangeLog b/ChangeLog index 1a62dbadaa..1ecea31e15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Feb 3 20:26:53 CET 2008 Jim Meyering + + Remove all trailing blanks; turn on the rule to detect them. + * Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank. + * .x-sc_trailing_blank: New file, to exempt the few binary files. + Tue Feb 3 11:21:45 EST 2008 Daniel P. Berrange * src/xml.c, src/xend_internal.c: Allow use of kernel+initrd diff --git a/Makefile.cfg b/Makefile.cfg index dca7c5bacd..a9578abe9d 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -30,7 +30,6 @@ local-checks-to-skip = \ makefile-check \ sc_no_have_config_h \ sc_tight_scope \ - sc_trailing_blank \ sc_GPL_version \ sc_always_defined_macros \ sc_cast_of_alloca_return_value \ diff --git a/NEWS b/NEWS index a19fd1876a..fb4878f68f 100644 --- a/NEWS +++ b/NEWS @@ -17,15 +17,15 @@ Releases various english fixes (Bruce Montague), OCaml docs links (Richard Jones), describe the various bindings add Ruby link, Windows support page (Richard Jones), authentication documentation updates (Daniel Berrange) - + - Bug fixes: NUMA topology error handling (Beth Kon), NUMA topology cells without CPU (Beth Kon), XML to/from XM bridge config (Daniel Berrange), XM processing of vnc parameters (Daniel Berrange), Reset - migration source after failure (Jim Paris), negative integer in config + migration source after failure (Jim Paris), negative integer in config (Tatsuro Enokura), zero terminating string buffer, detect integer overflow (Jim Meyering), QEmu command line ending fixes (Daniel Berrange), recursion problem in the daemon (Daniel Berrange), HVM domain with CDRom - (Masayuki Sunou), off by one error in NUMA cpu count (Beth Kon), + (Masayuki Sunou), off by one error in NUMA cpu count (Beth Kon), avoid xend errors when adding disks (Masayuki Sunou), compile error (Chris Lalancette), transposed fwrite args (Jim Meyering), compile without xen and on solaris (Jim Paris), parsing of interface names @@ -42,17 +42,17 @@ Releases parameter setting in XM config (Saori Fukuta), credential handling fixes (Daniel Berrange), fix compatibility with Xen 3.2.0 (Daniel Berrange) - + - Improvements: /etc/libvirt/qemu.conf configuration for QEMU driver (Daniel Berrange), NUMA cpu pinning in config files (DV and Saori Fukuta), CDRom media change in KVM/QEMU (Daniel Berrange), tests for in configs, pinning inactive domains for Xen 3.0.3 (Saori Fukuta), use gnulib for portability enhancement (Jim Meyering), --without-libvirtd config option (Richard Jones), Python bindings for - NUMA, add extra utility functions to buffer (Richard Jones), + NUMA, add extra utility functions to buffer (Richard Jones), separate qparams module for handling query parameters (Richard Jones) - - - Code cleanups: remove virDomainRestart from API as it was never used + + - Code cleanups: remove virDomainRestart from API as it was never used (Richard Jones), constify params for attach/detach APIs (Daniel Berrange), gcc printf attribute checkings (Jim Meyering), refactoring of device parsing code and shell escaping (Daniel Berrange), virsh schedinfo @@ -72,20 +72,20 @@ Releases port (Richard Jones), disable the proxy if using PolicyKit, readline availability detection, test libvirtd's config-processing code (Jim Meyering), use a variable name as sizeof argument (Jim Meyering) - + 0.3.3: Sep 30 2007: - New features: Avahi mDNS daemon export (Daniel Berrange), - NUMA support (Beth Kan) - - Documentation: cleanups (Toth Istvan), typos (Eduardo Pereira), + NUMA support (Beth Kan) + - Documentation: cleanups (Toth Istvan), typos (Eduardo Pereira), - Bug fixes: memory corruption on large dumps (Masayuki Sunou), fix virsh vncdisplay command exit (Masayuki Sunou), Fix network stats TX/RX result (Richard Jones), warning on Xen 3.0.3 (Richard Jones), missing buffer check in virDomainXMLDevID (Hugh Brock), avoid zombies when using remote (Daniel Berrange), xend connection error message (Richard Jones), avoid ssh tty prompt (Daniel Berrange), username - handling for remote URIs (Fabian Deutsch), fix potential crash + handling for remote URIs (Fabian Deutsch), fix potential crash on multiple input XML tags (Daniel Berrange), Solaris Xen hypercalls fixup (Mark Johnson) - Improvements: OpenVZ support (Shuveb Hussain and Anoop Cyriac), @@ -103,7 +103,7 @@ Releases 0.3.2: Aug 21 2007: - - New features: KVM migration and save/restore (Jim Paris), + - New features: KVM migration and save/restore (Jim Paris), added API for migration (Richard Jones), added APIs for block device and interface statistic (Richard Jones). - Documentation: examples for XML network APIs, @@ -124,10 +124,10 @@ Releases speedup of domain queries on Xen (Daniel berrange), augment XML dumps with interface devices names (Richard Jones), internal API to query drivers for features (Richard Jones). - + - Cleanups: Improve virNodeGetInfo implentation (Daniel berrange), general UUID code cleanup (Daniel berrange), fix API generator - file selection. + file selection. 0.3.1: Jul 24 2007: @@ -161,13 +161,13 @@ Releases - Secure Remote support (Richard Jones). See the remote page of the documentation - + - Documentation: remote support (Richard Jones), description of the URI connection strings (Richard Jones), update of virsh man page, matrix of libvirt API/hypervisor support with version informations (Richard Jones) - - Bug fixes: examples Makefile.am generation (Richard Jones), - SetMem fix (Mark Johnson), URI handling and ordering of + - Bug fixes: examples Makefile.am generation (Richard Jones), + SetMem fix (Mark Johnson), URI handling and ordering of drivers (Daniel Berrange), fix virsh help without hypervisor (Richard Jones), id marshalling fix (Daniel Berrange), fix virConnectGetMaxVcpus on remote (Richard Jones), avoid a realloc leak (Jim Meyering), scheduler @@ -177,12 +177,12 @@ Releases XML serialization bugs - Improvements: QEmu switch to XDR-based protocol (Dan Berrange), device attach/detach commands (Masayuki Sunou), OCaml bindings - (Richard Jones), new entry points virDomainGetConnect and - virNetworkGetConnect useful for bindings (Richard Jones), + (Richard Jones), new entry points virDomainGetConnect and + virNetworkGetConnect useful for bindings (Richard Jones), reunitifaction of remote and qemu daemon under a single libvirtd with a config file (Daniel Berrange) - Cleanups: parsing of connection URIs (Richard Jones), messages - from virsh (Saori Fukuta), Coverage files (Daniel Berrange), + from virsh (Saori Fukuta), Coverage files (Daniel Berrange), Solaris fixes (Mark Johnson), avoid [r]index calls (Richard Jones), release information in Xen backend, virsh cpupin command cleanups (Masayuki Sunou), xen:/// suppport as standard Xen URI (Richard Jones and @@ -202,7 +202,7 @@ Releases 0.2.3: Jun 8 2007: - Documentation: documentation for upcoming remote access (Richard Jones), virConnectNumOfDefinedDomains doc (Jan Michael), virsh help messages - for dumpxml and net-dumpxml (Chris Wright), + for dumpxml and net-dumpxml (Chris Wright), - Bug fixes: RelaxNG schemas regexp fix (Robin Green), RelaxNG arch bug (Mark McLoughlin), large buffers bug fixes (Shigeki Sakamoto), error on out of memory condition (Shigeki Sakamoto), virshStrdup fix, non-root @@ -214,7 +214,7 @@ Releases QEmu memory bug (Daniel Berrange), memory leak fix (Masayuki Sunou), fix compiler flags (Richard Jones), remove type ioemu on recent Xen HVM for paravirt drivers (Saori Fukuta), uninitialized string bug - (Masayuki Sunou), allow init even if the daemon is not running, + (Masayuki Sunou), allow init even if the daemon is not running, XML to config fix (Daniel Berrange) - Improvements: add a special error class for the test module (Richard Jones), virConnectGetCapabilities on proxy (Richard Jones), allow @@ -236,10 +236,10 @@ Releases 0.2.2: Apr 17 2007: - - Documentation: fix errors due to Amaya (with Simon Hernandez), + - Documentation: fix errors due to Amaya (with Simon Hernandez), virsh uses kB not bytes (Atsushi SAKAI), add command line help to qemud (Richard Jones), xenUnifiedRegister docs (Atsushi SAKAI), - strings typos (Nikolay Sivov), ilocalization probalem raised by + strings typos (Nikolay Sivov), ilocalization probalem raised by Thomas Canniot - Bug fixes: virsh memory values test (Masayuki Sunou), operations without libvirt_qemud (Atsushi SAKAI), fix spec file (Florian La Roche, Jeremy @@ -251,26 +251,26 @@ Releases Berrange), bridged config configuration (Daniel Berrange), erroneous XEN_V2_OP_SETMAXMEM value (Masayuki Sunou), memory free error (Mark McLoughlin), set VIR_CONNECT_RO on read-only connections (S.Sakamoto), - avoid memory explosion bug (Daniel Berrange), integer overflow + avoid memory explosion bug (Daniel Berrange), integer overflow for qemu CPU time (Daniel Berrange), QEMU binary path check (Daniel Berrange) - Cleanups: remove some global variables (Jim Meyering), printf-style functions checks (Jim Meyering), better virsh error messages, increase compiler checkings and security (Daniel Berrange), virBufferGrow usage and docs, use calloc instead of malloc/memset, replace all sprintf by - snprintf, avoid configure clobbering user's CTAGS (Jim Meyering), + snprintf, avoid configure clobbering user's CTAGS (Jim Meyering), signal handler error cleanup (Richard Jones), iptables internal code claenup (Mark McLoughlin), unified Xen driver (Richard Jones), cleanup XPath libxml2 calls, IPTables rules tightening (Daniel - Berrange), + Berrange), - Improvements: more regression tests on XML (Daniel Berrange), Python bindings now generate exception in error cases (Richard Jones), Python bindings for vir*GetAutoStart (Daniel Berrange), handling of CD-Rom device without device name (Nobuhiro Itou), fix hypervisor call to work with Xen 3.0.5 (Daniel Berrange), DomainGetOSType for inactive domains (Daniel Berrange), multiple boot - devices for HVM (Daniel Berrange), - + devices for HVM (Daniel Berrange), + 0.2.1: Mar 16 2007: @@ -293,7 +293,7 @@ Releases Berrange), pointer/int mismatch (Richard Jones), configure time selection of drivers, libvirt spec hacking (Daniel Berrange) - Add support for network autostart and init scripts (Mark McLoughlin) - - New API virConnectGetCapabilities() to detect the virtualization + - New API virConnectGetCapabilities() to detect the virtualization capabilities of a host (Richard Jones) - Minor improvements: qemud signal handling (Mark), don't shutdown or reboot domain0 (Kazuki Mizushima), QEmu version autodetection (Daniel Berrange), @@ -312,7 +312,7 @@ Releases parsing (Richard Jones) - Add support for QEmu and KVM virtualization (Daniel Berrange) - Add support for network configuration (Mark McLoughlin) - - Minor improvements: regression testing (Daniel Berrange), + - Minor improvements: regression testing (Daniel Berrange), localization string updates @@ -375,7 +375,7 @@ Releases - Support for localization of strings using gettext (Daniel Berrange) - Support for new Xen-3.0.3 cdrom and disk configuration (Daniel Berrange) - Support for setting VNC port when creating domains with new - xend config files (Daniel Berrange) + xend config files (Daniel Berrange) - Fix bug when running against xen-3.0.2 hypercalls (Jim Fehlig) - Fix reconnection problem when talking directly to http xend @@ -409,7 +409,7 @@ Releases floppy and cdrom (Daniel Berrange), features block in XML to report/ask PAE, ACPI, APIC for HVM domains (Daniel Berrange), fail saide-effect operations when using read-only connection, large improvements to test - driver (Daniel Berrange) + driver (Daniel Berrange) - documentation: spelling (Daniel Berrange), test driver examples. diff --git a/TODO b/TODO index 828d50d8f7..fe3389c8f2 100644 --- a/TODO +++ b/TODO @@ -6,7 +6,7 @@ TODO: Other environment: - support for UML - + + UML control layer should be easy at least for one user but incomplete Probable TODOs: @@ -20,7 +20,7 @@ Would-be-nice TODO: Cleanup: - now that libxml2 is linked in, drop hash.[ch] and get back to libxml2 ones ? - same for the buffers + same for the buffers Autoconf: - On Debian and other platforms, C++ compiler is required because diff --git a/autobuild.sh b/autobuild.sh index 06b9c38519..623b33adfc 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -16,7 +16,7 @@ rm -rf coverage ./autogen.sh --prefix=$AUTOBUILD_INSTALL_ROOT \ --enable-test-coverage \ - --enable-compile-warnings=error + --enable-compile-warnings=error make make install diff --git a/autogen.sh b/autogen.sh index 3bcffd3d94..788729faea 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,7 +2,7 @@ # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. +test -z "$srcdir" && srcdir=. THEDIR=`pwd` cd $srcdir @@ -70,6 +70,6 @@ if test x$OBJ_DIR != x; then fi $srcdir/configure "$@" && { - echo + echo echo "Now type 'make' to compile libvirt." } diff --git a/docs/ChangeLog.awk b/docs/ChangeLog.awk index eb0db03245..d9d92fc25b 100755 --- a/docs/ChangeLog.awk +++ b/docs/ChangeLog.awk @@ -7,7 +7,7 @@ function translate(str) { sub(/[0-9][0-9][0-9][0-9][0-9]+/, "", str) return(str) } -BEGIN { +BEGIN { nb_entry = 0 in_entry = 0 in_item = 0 @@ -20,7 +20,7 @@ END { print "" } /^[ \t]*$/ { next } -/^[A-Za-z0-9]/ { +/^[A-Za-z0-9]/ { match($0, "\(.*\) \([A-Z]+\) \([0-9][0-9][0-9][0-9]\) \(.*\) <\(.*\)>", loge) if (in_item == 1) printf("%s\n", translate(item)) if (in_entry == 1) print " " @@ -41,7 +41,7 @@ END { match($0, "[ \t]*. *\(.*\)", loge) item = loge[1] } -/^[ \t]*[a-zA-Z0-9\#]/ { +/^[ \t]*[a-zA-Z0-9\#]/ { if (in_item == 1) { match($0, "[ \t]*\(.*\)[ \t]*", loge) item = sprintf("%s %s", item, loge[1]) diff --git a/docs/ChangeLog.xsl b/docs/ChangeLog.xsl index 40ed156676..00fecf11c0 100644 --- a/docs/ChangeLog.xsl +++ b/docs/ChangeLog.xsl @@ -24,7 +24,7 @@
  • Main Menu
  • -
  • Modules Index
  • API Menu
  • @@ -35,13 +35,13 @@ - +
  • - +

    diff --git a/docs/Makefile.am b/docs/Makefile.am index 5feeab3aa8..3f36697fa9 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -108,7 +108,7 @@ maintainer-clean-local: clean-local rebuild: api all -install-data-local: +install-data-local: $(mkinstalldirs) $(DESTDIR)$(HTML_DIR) -@INSTALL@ -m 0644 $(srcdir)/libvir.html $(srcdir)/FAQ.html \ $(srcdir)/redhat.gif $(srcdir)/Libxml2-Logo-90x34.gif \ diff --git a/docs/apibuild.py b/docs/apibuild.py index 429182f327..44d5e64308 100755 --- a/docs/apibuild.py +++ b/docs/apibuild.py @@ -311,7 +311,7 @@ class index: self.analyze_dict("structs", self.structs) self.analyze_dict("typedefs", self.typedefs) self.analyze_dict("macros", self.macros) - + class CLexer: """A lexer for the C language, tokenize the input by reading and analyzing it line by line""" @@ -343,7 +343,7 @@ class CLexer: else: line = line + n return line - + def getlineno(self): return self.lineno @@ -512,12 +512,12 @@ class CLexer: else: break self.tokens.append(('name', line[s:i])) - + tok = self.tokens[0] self.tokens = self.tokens[1:] self.last = tok return tok - + class CParser: """The C module parser""" def __init__(self, filename, idx = None): @@ -672,7 +672,7 @@ class CParser: l = string.strip(l) desc = desc + " " + l del lines[0] - + desc = string.strip(desc) if quiet == 0: @@ -742,7 +742,7 @@ class CParser: l = string.strip(l) desc = desc + " " + l del lines[0] - + desc = string.strip(desc) if quiet == 0: @@ -843,7 +843,7 @@ class CParser: else: desc = desc + " " + l del lines[0] - + retdesc = string.strip(retdesc) desc = string.strip(desc) @@ -921,7 +921,7 @@ class CParser: try: self.defines.append(apstr) if string.find(apstr, 'ENABLED') != -1: - self.conditionals.append("defined(%s)" % apstr) + self.conditionals.append("defined(%s)" % apstr) except: pass elif name == "#ifndef": @@ -929,7 +929,7 @@ class CParser: try: self.defines.append(apstr) if string.find(apstr, 'ENABLED') != -1: - self.conditionals.append("!defined(%s)" % apstr) + self.conditionals.append("!defined(%s)" % apstr) except: pass elif name == "#if": @@ -1054,7 +1054,7 @@ class CParser: return token token = self.token() return token - + # # Parse a C code block, used for functions it parse till # the balancing } included @@ -1089,7 +1089,7 @@ class CParser: elif oldtok[0] == "name" and oldtok[1][0:7] == "LIBXEN_": self.index_add_ref(oldtok[1], self.filename, 0, "typedef") - + else: token = self.token() return token @@ -1222,7 +1222,7 @@ class CParser: if token == None: return token - while token[0] == "name" and ( + while token[0] == "name" and ( token[1] == "const" or \ token[1] == "unsigned" or \ token[1] == "signed"): @@ -1238,7 +1238,7 @@ class CParser: else: self.type = self.type + " " + token[1] - # some read ahead for long long + # some read ahead for long long oldtmp = token token = self.token() if token[0] == "name" and token[1] == "long": @@ -1263,7 +1263,7 @@ class CParser: self.type = tmp[1] else: self.type = self.type + " " + tmp[1] - + elif token[0] == "name" and token[1] == "struct": if self.type == "": self.type = token[1] @@ -1553,7 +1553,7 @@ class CParser: token = self.token() else: break - + return token def parse(self): @@ -1569,7 +1569,7 @@ class CParser: return self.parseTopComment(self.top_comment) return self.index - + class docBuilder: """A documentation builder""" @@ -1663,7 +1663,7 @@ class docBuilder: self.headers[file] = None; self.scanHeaders() self.scanModules() - + def modulename_file(self, file): module = os.path.basename(file) if module[-2:] == '.h': @@ -1757,7 +1757,7 @@ class docBuilder: else: output.write(" \n" % ( name, self.modulename_file(id.header))) - + def serialize_function(self, output, name): id = self.idx.functions[name] if name == debugsym: diff --git a/docs/devhelp/Makefile.am b/docs/devhelp/Makefile.am index c599989d60..ab8e3046e4 100644 --- a/docs/devhelp/Makefile.am +++ b/docs/devhelp/Makefile.am @@ -19,7 +19,7 @@ libvirt.devhelp $(HTML_FILES): devhelp.xsl html.xsl $(top_srcdir)/docs/libvirt-a -@(if [ -x $(XSLTPROC) ] ; then \ $(XSLTPROC) --nonet -o $(srcdir)/libvirt.devhelp devhelp.xsl $(top_srcdir)/docs/libvirt-api.xml ; fi ); -install-data-local: +install-data-local: $(mkinstalldirs) $(DESTDIR)$(DEVHELP_DIR) -@INSTALL@ -m 0644 libvirt.devhelp $(DESTDIR)$(DEVHELP_DIR) -@INSTALL@ -m 0644 $(EXTRA_FORMAT) $(DESTDIR)$(DEVHELP_DIR) diff --git a/docs/devhelp/style.css b/docs/devhelp/style.css index c9cabe7830..dfbb41e34c 100644 --- a/docs/devhelp/style.css +++ b/docs/devhelp/style.css @@ -1,16 +1,16 @@ -.synopsis, .classsynopsis +.synopsis, .classsynopsis { background: #eeeeee; border: solid 1px #aaaaaa; padding: 0.5em; } -.programlisting +.programlisting { background: #eeeeff; border: solid 1px #aaaaff; padding: 0.5em; } -.variablelist +.variablelist { padding: 4px; margin-left: 3em; @@ -19,39 +19,39 @@ { vertical-align: top; } -table.navigation +table.navigation { background: #ffeeee; border: solid 1px #ffaaaa; margin-top: 0.5em; margin-bottom: 0.5em; } -.navigation a +.navigation a { color: #770000; } -.navigation a:visited +.navigation a:visited { color: #550000; } -.navigation .title +.navigation .title { font-size: 200%; } -div.refnamediv +div.refnamediv { margin-top: 2em; } -div.gallery-float +div.gallery-float { float: left; padding: 10px; } -div.gallery-float img +div.gallery-float img { border-style: none; } -div.gallery-spacer +div.gallery-spacer { clear: both; } diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am index 6b5963ebca..9da4e219e0 100644 --- a/docs/examples/Makefile.am +++ b/docs/examples/Makefile.am @@ -22,9 +22,9 @@ install-data-local: -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml \ $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR) -EXTRA_DIST=examples.xsl index.py examples.xml +EXTRA_DIST=examples.xsl index.py examples.xml -noinst_PROGRAMS=info1 suspend +noinst_PROGRAMS=info1 suspend info1_SOURCES=info1.c info1_LDFLAGS= @@ -36,7 +36,7 @@ suspend_LDFLAGS= suspend_DEPENDENCIES= $(DEPS) suspend_LDADD= $(LDADDS) -valgrind: +valgrind: $(MAKE) CHECKER='valgrind' tests tests: $(noinst_PROGRAMS) diff --git a/docs/examples/examples.xsl b/docs/examples/examples.xsl index 912528a0c0..b7ccba218a 100644 --- a/docs/examples/examples.xsl +++ b/docs/examples/examples.xsl @@ -18,9 +18,9 @@

    • Home
    • -
    • Developer Menu
    • -
    • API Menu
    • Examples
    • diff --git a/docs/examples/python/README b/docs/examples/python/README index d1593f9d1c..79a3a58fee 100644 --- a/docs/examples/python/README +++ b/docs/examples/python/README @@ -4,8 +4,8 @@ The examples are: dominfo.py - print information about a running domU based on the results of virDomainGetInfo and virDomainGetXMLDesc -domstart.py - create a domU from an XML description if the domU isn't - running yet +domstart.py - create a domU from an XML description if the domU isn't + running yet domsave.py - save all running domU's into a directory domrestore.py - restore domU's from their saved files in a directory diff --git a/docs/examples/python/dominfo.py b/docs/examples/python/dominfo.py index d1009ea814..208de87fb1 100755 --- a/docs/examples/python/dominfo.py +++ b/docs/examples/python/dominfo.py @@ -26,7 +26,7 @@ def print_xml(key, ctx, path): value = res[0].content print_entry(key, value) return value - + if not os.access("/proc/xen", os.R_OK): print 'System is not running a Xen kernel' sys.exit(1) diff --git a/docs/examples/python/domsave.py b/docs/examples/python/domsave.py index eec7f9ea35..35e2c8a543 100755 --- a/docs/examples/python/domsave.py +++ b/docs/examples/python/domsave.py @@ -36,5 +36,5 @@ for id in doms: print "done" else: print "error %d" % ret - + #pdb.set_trace() diff --git a/docs/examples/python/domstart.py b/docs/examples/python/domstart.py index f39eb66c45..64434c414f 100755 --- a/docs/examples/python/domstart.py +++ b/docs/examples/python/domstart.py @@ -18,7 +18,7 @@ def read_domain(fname): doc = libxml2.parseDoc(xmldesc) name = doc.xpathNewContext().xpathEval("/domain/name")[0].content return (name, xmldesc) - + def usage(): print 'Usage: %s domain.xml' % sys.argv[0] print ' Check that the domain described by DOMAIN.XML is running' diff --git a/docs/examples/suspend.c b/docs/examples/suspend.c index 9ca6299e48..d079acadfa 100644 --- a/docs/examples/suspend.c +++ b/docs/examples/suspend.c @@ -27,7 +27,7 @@ static int checkDomainState(virDomainPtr dom) { virDomainInfo info; /* the informations being fetched */ int ret; - + ret = virDomainGetInfo(dom, &info); if (ret < 0) { return(-1); @@ -124,7 +124,7 @@ int main(int argc, char **argv) { fprintf(stderr, "Failed find a running guest domain\n"); goto error; } - + SuspendAndResumeDomain(id); error: diff --git a/docs/format.html b/docs/format.html index c3e7ec36a4..c8e9c0919d 100644 --- a/docs/format.html +++ b/docs/format.html @@ -231,8 +231,8 @@ support a variety of options:

      1. Userspace SLIRP stack VMs to have outgoing access. Example configs are:

        <interface type='user'/>
        -<interface type='user'>                                                  
        -  <mac address="11:22:33:44:55:66"/>                                     
        +<interface type='user'>
        +  <mac address="11:22:33:44:55:66"/>
         </interface>
             
      2. @@ -276,7 +276,7 @@ support a variety of options:

        1. Userspace SLIRP stack <source dev='br0'/> <target dev='vnet7'/> <mac address="11:22:33:44:55:66"/> -</interface> +</interface>
        2. Generic connection to LAN

          Provides a means for the administrator to execute an arbitrary script diff --git a/docs/html/libvirt-libvirt.html b/docs/html/libvirt-libvirt.html index 5d7478df35..9ab12aee6d 100644 --- a/docs/html/libvirt-libvirt.html +++ b/docs/html/libvirt-libvirt.html @@ -181,7 +181,7 @@ The content of this structure is not made public by the API. unsigned long long cpuTime : the CPU time used in nanoseconds } a virDomainInfoPtr is a pointer to a virDomainInfo structure. - + A pointe to a virDomainInterfaceStats structure

          Structure virDomainInterfaceStatsStruct

          Structure virDomainInterfaceStatsStruct
          struct _virDomainInterfaceStats { long long rx_bytes diff --git a/docs/index.py b/docs/index.py index b9a3aa46a8..20047b965a 100755 --- a/docs/index.py +++ b/docs/index.py @@ -34,7 +34,7 @@ # Bye # # Then run the script in the doc subdir, it will create the symbols and -# word tables and populate them with informations extracted from +# word tables and populate them with informations extracted from # the libvirt-api.xml API description, and make then accessible read-only # by nobody@loaclhost the user expected to be Apache's one # @@ -187,7 +187,7 @@ def checkTables(db, verbose = 1): except: pass return 0 - + def openMySQL(db="libvir", passwd=None, verbose = 1): global DB @@ -231,7 +231,7 @@ def updateWord(name, symbol, relevance): print "UPDATE words SET relevance = %d where name = '%s' and symbol = '%s'" % (relevance, name, symbol) print sys.exc_type, sys.exc_value return -1 - + return ret def updateSymbol(name, module, type, desc): @@ -272,9 +272,9 @@ def updateSymbol(name, module, type, desc): print """UPDATE symbols SET module='%s', type='%s', descr='%s' where name='%s'""" % (module, type, desc, name) print sys.exc_type, sys.exc_value return -1 - + return ret - + def addFunction(name, module, desc = ""): return updateSymbol(name, module, 'function', desc) @@ -321,7 +321,7 @@ def addPage(resource, title): print """UPDATE pages SET title='%s' WHERE resource='%s'""" % (title, resource) print sys.exc_type, sys.exc_value return -1 - + return ret def updateWordHTML(name, resource, desc, id, relevance): @@ -361,7 +361,7 @@ def updateWordHTML(name, resource, desc, id, relevance): print """UPDATE wordsHTML SET section='%s', id='%s', relevance='%d' where name='%s' and resource='%s'""" % (desc, id, relevance, name, resource) print sys.exc_type, sys.exc_value return -1 - + return ret def checkXMLMsgArchive(url): @@ -383,9 +383,9 @@ def checkXMLMsgArchive(url): return -1 except: return -1 - + return row[0] - + def addXMLMsgArchive(url, title): global DB @@ -414,7 +414,7 @@ def addXMLMsgArchive(url, title): except: print "addXMLMsgArchive failed command: %s" % (cmd) return -1 - + return((int)(row[0])) def updateWordArchive(name, id, relevance): @@ -444,7 +444,7 @@ def updateWordArchive(name, id, relevance): print """UPDATE wordsArchive SET relevance='%d' where name='%s' and ID='%d'""" % (relevance, name, id) print sys.exc_type, sys.exc_value return -1 - + return ret ######################################################################### @@ -501,7 +501,7 @@ def cleanupWordsString(str): str = string.replace(str, "\xc2", " ") str = string.replace(str, "\xa0", " ") return str - + def cleanupDescrString(str): str = string.replace(str, "'", " ") str = string.replace(str, "\n", " ") @@ -557,7 +557,7 @@ def addWord(word, module, symbol, relevance): wordsDict[word] = {} wordsDict[word][(module, symbol)] = relevance return relevance - + def addString(str, module, symbol, relevance): if str == None or len(str) < 3: return -1 @@ -603,7 +603,7 @@ def addWordHTML(word, resource, id, section, relevance): d = wordsDictHTML[word]; d[resource] = (relevance, id, section) return relevance - + def addStringHTML(str, resource, id, section, relevance): if str == None or len(str) < 3: return -1 @@ -650,7 +650,7 @@ def addWordArchive(word, id, relevance): d = wordsDictArchive[word]; d[id] = relevance return relevance - + def addStringArchive(str, id, relevance): if str == None or len(str) < 3: return -1 @@ -692,7 +692,7 @@ def foundExport(file, symbol): for word in l: addWord(word, file, symbol, 10) return 1 - + def analyzeAPIFile(top): count = 0 name = top.prop("name") @@ -711,7 +711,7 @@ def analyzeAPIFile(top): def analyzeAPIFiles(top): count = 0 cur = top.children - + while cur != None: if cur.type == 'text': cur = cur.next @@ -897,7 +897,7 @@ def analyzeAPIFunction(top): def analyzeAPISymbols(top): count = 0 cur = top.children - + while cur != None: if cur.type == 'text': cur = cur.next @@ -1129,7 +1129,7 @@ def scanXMLDateArchive(t = None, force = 0): pass return newmsg - + ######################################################################### # # diff --git a/docs/library.xen b/docs/library.xen index aa2c822f76..d1500ee9ee 100644 --- a/docs/library.xen +++ b/docs/library.xen @@ -12,10 +12,10 @@ Functional description: - stop - suspend - resume - - monitor + - monitor More advanced features should be allowed as future extensions, but are not expected to be provided in first shipment. - + Open enough Licence that customers can link their apps to it (LGPL) Small and contained enough that we can use it as a way to @@ -32,8 +32,8 @@ Python code on top driving the hypervisor. are not uncommon, and it is very low level usually without comment about the function or its arguments. They are usually only called once in the whole tree by the python bindings. In essence it looks like the Xen project -was not implemented with the idea of reusing that part of the code by -applications. +was not implemented with the idea of reusing that part of the code by +applications. Indeed most of the userland code coming with Xen is built on Python, like xend the xen daemon running on domain 0 or the xenstored daemon which manage the state of the domains launched. @@ -54,7 +54,7 @@ The IBM way: ------------ Here is supposition about code that I can't instanciate except by looking -at said code but it looks that IBM also needed a C programmatic API to +at said code but it looks that IBM also needed a C programmatic API to manage the Xen domain definitions. Their solution was to build (Rusty Russell did this) an LGPL C API connecting directly to the xenstore daemon (./tools/xenstore/*). In a way this is quite more fragile as it depends diff --git a/docs/libvir.html b/docs/libvir.html index ca9f4f2b77..52fb05d90d 100644 --- a/docs/libvir.html +++ b/docs/libvir.html @@ -54,11 +54,11 @@ and check the ChangeLog to gauge progress.

        3. Bug fixes: NUMA topology error handling (Beth Kon), NUMA topology cells without CPU (Beth Kon), XML to/from XM bridge config (Daniel Berrange), XM processing of vnc parameters (Daniel Berrange), Reset - migration source after failure (Jim Paris), negative integer in config + migration source after failure (Jim Paris), negative integer in config (Tatsuro Enokura), zero terminating string buffer, detect integer overflow (Jim Meyering), QEmu command line ending fixes (Daniel Berrange), recursion problem in the daemon (Daniel Berrange), HVM domain with CDRom - (Masayuki Sunou), off by one error in NUMA cpu count (Beth Kon), + (Masayuki Sunou), off by one error in NUMA cpu count (Beth Kon), avoid xend errors when adding disks (Masayuki Sunou), compile error (Chris Lalancette), transposed fwrite args (Jim Meyering), compile without xen and on solaris (Jim Paris), parsing of interface names @@ -82,10 +82,10 @@ and check the ChangeLog to gauge progress.

          <shareable/> in configs, pinning inactive domains for Xen 3.0.3 (Saori Fukuta), use gnulib for portability enhancement (Jim Meyering), --without-libvirtd config option (Richard Jones), Python bindings for - NUMA, add extra utility functions to buffer (Richard Jones), + NUMA, add extra utility functions to buffer (Richard Jones), separate qparams module for handling query parameters (Richard Jones)
        4. -
        5. Code cleanups: remove virDomainRestart from API as it was never used +
        6. Code cleanups: remove virDomainRestart from API as it was never used (Richard Jones), constify params for attach/detach APIs (Daniel Berrange), gcc printf attribute checkings (Jim Meyering), refactoring of device parsing code and shell escaping (Daniel Berrange), virsh schedinfo @@ -119,7 +119,7 @@ and check the ChangeLog to gauge progress.

          missing buffer check in virDomainXMLDevID (Hugh Brock), avoid zombies when using remote (Daniel Berrange), xend connection error message (Richard Jones), avoid ssh tty prompt (Daniel Berrange), username - handling for remote URIs (Fabian Deutsch), fix potential crash + handling for remote URIs (Fabian Deutsch), fix potential crash on multiple input XML tags (Daniel Berrange), Solaris Xen hypercalls fixup (Mark Johnson)
        7. Improvements: OpenVZ support (Shuveb Hussain and Anoop Cyriac), @@ -137,7 +137,7 @@ and check the ChangeLog to gauge progress.

    0.3.2: Aug 21 2007

      -
    • New features: KVM migration and save/restore (Jim Paris), +
    • New features: KVM migration and save/restore (Jim Paris), added API for migration (Richard Jones), added APIs for block device and interface statistic (Richard Jones).
    • Documentation: examples for XML network APIs, @@ -200,8 +200,8 @@ and check the ChangeLog to gauge progress.

      the URI connection strings (Richard Jones), update of virsh man page, matrix of libvirt API/hypervisor support with version informations (Richard Jones)
    • -
    • Bug fixes: examples Makefile.am generation (Richard Jones), - SetMem fix (Mark Johnson), URI handling and ordering of +
    • Bug fixes: examples Makefile.am generation (Richard Jones), + SetMem fix (Mark Johnson), URI handling and ordering of drivers (Daniel Berrange), fix virsh help without hypervisor (Richard Jones), id marshalling fix (Daniel Berrange), fix virConnectGetMaxVcpus on remote (Richard Jones), avoid a realloc leak (Jim Meyering), scheduler @@ -211,12 +211,12 @@ and check the ChangeLog to gauge progress.

      XML serialization bugs
    • Improvements: QEmu switch to XDR-based protocol (Dan Berrange), device attach/detach commands (Masayuki Sunou), OCaml bindings - (Richard Jones), new entry points virDomainGetConnect and - virNetworkGetConnect useful for bindings (Richard Jones), + (Richard Jones), new entry points virDomainGetConnect and + virNetworkGetConnect useful for bindings (Richard Jones), reunitifaction of remote and qemu daemon under a single libvirtd with a config file (Daniel Berrange)
    • Cleanups: parsing of connection URIs (Richard Jones), messages - from virsh (Saori Fukuta), Coverage files (Daniel Berrange), + from virsh (Saori Fukuta), Coverage files (Daniel Berrange), Solaris fixes (Mark Johnson), avoid [r]index calls (Richard Jones), release information in Xen backend, virsh cpupin command cleanups (Masayuki Sunou), xen:/// suppport as standard Xen URI (Richard Jones and @@ -248,7 +248,7 @@ and check the ChangeLog to gauge progress.

      QEmu memory bug (Daniel Berrange), memory leak fix (Masayuki Sunou), fix compiler flags (Richard Jones), remove type ioemu on recent Xen HVM for paravirt drivers (Saori Fukuta), uninitialized string bug - (Masayuki Sunou), allow init even if the daemon is not running, + (Masayuki Sunou), allow init even if the daemon is not running, XML to config fix (Daniel Berrange)
    • Improvements: add a special error class for the test module (Richard Jones), virConnectGetCapabilities on proxy (Richard Jones), allow @@ -270,10 +270,10 @@ and check the ChangeLog to gauge progress.

    0.2.2: Apr 17 2007

      -
    • Documentation: fix errors due to Amaya (with Simon Hernandez), +
    • Documentation: fix errors due to Amaya (with Simon Hernandez), virsh uses kB not bytes (Atsushi SAKAI), add command line help to qemud (Richard Jones), xenUnifiedRegister docs (Atsushi SAKAI), - strings typos (Nikolay Sivov), ilocalization probalem raised by + strings typos (Nikolay Sivov), ilocalization probalem raised by Thomas Canniot
    • Bug fixes: virsh memory values test (Masayuki Sunou), operations without libvirt_qemud (Atsushi SAKAI), fix spec file (Florian La Roche, Jeremy @@ -285,14 +285,14 @@ and check the ChangeLog to gauge progress.

      Berrange), bridged config configuration (Daniel Berrange), erroneous XEN_V2_OP_SETMAXMEM value (Masayuki Sunou), memory free error (Mark McLoughlin), set VIR_CONNECT_RO on read-only connections (S.Sakamoto), - avoid memory explosion bug (Daniel Berrange), integer overflow + avoid memory explosion bug (Daniel Berrange), integer overflow for qemu CPU time (Daniel Berrange), QEMU binary path check (Daniel Berrange)
    • Cleanups: remove some global variables (Jim Meyering), printf-style functions checks (Jim Meyering), better virsh error messages, increase compiler checkings and security (Daniel Berrange), virBufferGrow usage and docs, use calloc instead of malloc/memset, replace all sprintf by - snprintf, avoid configure clobbering user's CTAGS (Jim Meyering), + snprintf, avoid configure clobbering user's CTAGS (Jim Meyering), signal handler error cleanup (Richard Jones), iptables internal code claenup (Mark McLoughlin), unified Xen driver (Richard Jones), cleanup XPath libxml2 calls, IPTables rules tightening (Daniel @@ -303,7 +303,7 @@ and check the ChangeLog to gauge progress.

      handling of CD-Rom device without device name (Nobuhiro Itou), fix hypervisor call to work with Xen 3.0.5 (Daniel Berrange), DomainGetOSType for inactive domains (Daniel Berrange), multiple boot - devices for HVM (Daniel Berrange), + devices for HVM (Daniel Berrange),

    0.2.1: Mar 16 2007

    @@ -327,7 +327,7 @@ and check the ChangeLog to gauge progress.

    Berrange), pointer/int mismatch (Richard Jones), configure time selection of drivers, libvirt spec hacking (Daniel Berrange)
  • Add support for network autostart and init scripts (Mark McLoughlin)
  • -
  • New API virConnectGetCapabilities() to detect the virtualization +
  • New API virConnectGetCapabilities() to detect the virtualization capabilities of a host (Richard Jones)
  • Minor improvements: qemud signal handling (Mark), don't shutdown or reboot domain0 (Kazuki Mizushima), QEmu version autodetection (Daniel Berrange), @@ -347,7 +347,7 @@ and check the ChangeLog to gauge progress.

    parsing (Richard Jones)
  • Add support for QEmu and KVM virtualization (Daniel Berrange)
  • Add support for network configuration (Mark McLoughlin)
  • -
  • Minor improvements: regression testing (Daniel Berrange), +
  • Minor improvements: regression testing (Daniel Berrange), localization string updates
@@ -1037,8 +1037,8 @@ support a variety of options:

VMs to have outgoing access. Example configs are:

<interface type='user'/>
-<interface type='user'>                                                  
-  <mac address="11:22:33:44:55:66"/>                                     
+<interface type='user'>
+  <mac address="11:22:33:44:55:66"/>
 </interface>
     
@@ -1082,7 +1082,7 @@ support a variety of options:

<source dev='br0'/> <target dev='vnet7'/> <mac address="11:22:33:44:55:66"/> -</interface> +</interface>
  • Generic connection to LAN

    Provides a means for the administrator to execute an arbitrary script @@ -1678,7 +1678,7 @@ source on Windows:

    1. -

      Run Cygwin +

      Run Cygwin setup.exe. When it starts up it will show a dialog like this:

      @@ -3130,7 +3130,7 @@ daemon is to manage qemu instances.

      -The libvirtd daemon should be started by the +The libvirtd daemon should be started by the init scripts when the machine boots. It should appear as a process libvirtd --daemon running as root in the background and will handle qemu instances on behalf diff --git a/docs/libvirt.rng b/docs/libvirt.rng index 5464f17dd6..eb67824c4f 100644 --- a/docs/libvirt.rng +++ b/docs/libvirt.rng @@ -6,7 +6,7 @@ - diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 6fae4c8001..ca2025ec96 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -492,7 +492,7 @@ - + Module from diff --git a/docs/news.html b/docs/news.html index 758ee45b9c..1047b8ed66 100644 --- a/docs/news.html +++ b/docs/news.html @@ -17,11 +17,11 @@ and check the ChangeLog to gauge progress.

      0
    2. Bug fixes: NUMA topology error handling (Beth Kon), NUMA topology cells without CPU (Beth Kon), XML to/from XM bridge config (Daniel Berrange), XM processing of vnc parameters (Daniel Berrange), Reset - migration source after failure (Jim Paris), negative integer in config + migration source after failure (Jim Paris), negative integer in config (Tatsuro Enokura), zero terminating string buffer, detect integer overflow (Jim Meyering), QEmu command line ending fixes (Daniel Berrange), recursion problem in the daemon (Daniel Berrange), HVM domain with CDRom - (Masayuki Sunou), off by one error in NUMA cpu count (Beth Kon), + (Masayuki Sunou), off by one error in NUMA cpu count (Beth Kon), avoid xend errors when adding disks (Masayuki Sunou), compile error (Chris Lalancette), transposed fwrite args (Jim Meyering), compile without xen and on solaris (Jim Paris), parsing of interface names @@ -45,10 +45,10 @@ and check the ChangeLog to gauge progress.

      0 <shareable/> in configs, pinning inactive domains for Xen 3.0.3 (Saori Fukuta), use gnulib for portability enhancement (Jim Meyering), --without-libvirtd config option (Richard Jones), Python bindings for - NUMA, add extra utility functions to buffer (Richard Jones), + NUMA, add extra utility functions to buffer (Richard Jones), separate qparams module for handling query parameters (Richard Jones)

    3. -
    4. Code cleanups: remove virDomainRestart from API as it was never used +
    5. Code cleanups: remove virDomainRestart from API as it was never used (Richard Jones), constify params for attach/detach APIs (Daniel Berrange), gcc printf attribute checkings (Jim Meyering), refactoring of device parsing code and shell escaping (Daniel Berrange), virsh schedinfo @@ -78,7 +78,7 @@ and check the ChangeLog to gauge progress.

      0 missing buffer check in virDomainXMLDevID (Hugh Brock), avoid zombies when using remote (Daniel Berrange), xend connection error message (Richard Jones), avoid ssh tty prompt (Daniel Berrange), username - handling for remote URIs (Fabian Deutsch), fix potential crash + handling for remote URIs (Fabian Deutsch), fix potential crash on multiple input XML tags (Daniel Berrange), Solaris Xen hypercalls fixup (Mark Johnson)

    6. Improvements: OpenVZ support (Shuveb Hussain and Anoop Cyriac), @@ -93,7 +93,7 @@ and check the ChangeLog to gauge progress.

      0 statistics

    7. Code cleanups: virDrvOpenRemoteFlags definition (Richard Jones), configure tests and output (Daniel Berrange)
    8. -

      0.3.2: Aug 21 2007

      • New features: KVM migration and save/restore (Jim Paris), +

      0.3.2: Aug 21 2007

      • New features: KVM migration and save/restore (Jim Paris), added API for migration (Richard Jones), added APIs for block device and interface statistic (Richard Jones).
      • Documentation: examples for XML network APIs, @@ -149,8 +149,8 @@ and check the ChangeLog to gauge progress.

        0 the URI connection strings (Richard Jones), update of virsh man page, matrix of libvirt API/hypervisor support with version informations (Richard Jones)

      • -
      • Bug fixes: examples Makefile.am generation (Richard Jones), - SetMem fix (Mark Johnson), URI handling and ordering of +
      • Bug fixes: examples Makefile.am generation (Richard Jones), + SetMem fix (Mark Johnson), URI handling and ordering of drivers (Daniel Berrange), fix virsh help without hypervisor (Richard Jones), id marshalling fix (Daniel Berrange), fix virConnectGetMaxVcpus on remote (Richard Jones), avoid a realloc leak (Jim Meyering), scheduler @@ -160,12 +160,12 @@ and check the ChangeLog to gauge progress.

        0 XML serialization bugs

      • Improvements: QEmu switch to XDR-based protocol (Dan Berrange), device attach/detach commands (Masayuki Sunou), OCaml bindings - (Richard Jones), new entry points virDomainGetConnect and - virNetworkGetConnect useful for bindings (Richard Jones), + (Richard Jones), new entry points virDomainGetConnect and + virNetworkGetConnect useful for bindings (Richard Jones), reunitifaction of remote and qemu daemon under a single libvirtd with a config file (Daniel Berrange)
      • Cleanups: parsing of connection URIs (Richard Jones), messages - from virsh (Saori Fukuta), Coverage files (Daniel Berrange), + from virsh (Saori Fukuta), Coverage files (Daniel Berrange), Solaris fixes (Mark Johnson), avoid [r]index calls (Richard Jones), release information in Xen backend, virsh cpupin command cleanups (Masayuki Sunou), xen:/// suppport as standard Xen URI (Richard Jones and @@ -194,7 +194,7 @@ and check the ChangeLog to gauge progress.

        0 QEmu memory bug (Daniel Berrange), memory leak fix (Masayuki Sunou), fix compiler flags (Richard Jones), remove type ioemu on recent Xen HVM for paravirt drivers (Saori Fukuta), uninitialized string bug - (Masayuki Sunou), allow init even if the daemon is not running, + (Masayuki Sunou), allow init even if the daemon is not running, XML to config fix (Daniel Berrange)

      • Improvements: add a special error class for the test module (Richard Jones), virConnectGetCapabilities on proxy (Richard Jones), allow @@ -213,10 +213,10 @@ and check the ChangeLog to gauge progress.

        0 Jones), export __virGetDomain and __virGetNetwork for libvirtd only (Richard Jones), ignore old VNC config for HVM on recent Xen (Daniel Berrange), various code cleanups, -Werror cleanup (Hugh Brock)

      • -

      0.2.2: Apr 17 2007

      • Documentation: fix errors due to Amaya (with Simon Hernandez), +

      0.2.2: Apr 17 2007

      • Documentation: fix errors due to Amaya (with Simon Hernandez), virsh uses kB not bytes (Atsushi SAKAI), add command line help to qemud (Richard Jones), xenUnifiedRegister docs (Atsushi SAKAI), - strings typos (Nikolay Sivov), ilocalization probalem raised by + strings typos (Nikolay Sivov), ilocalization probalem raised by Thomas Canniot
      • Bug fixes: virsh memory values test (Masayuki Sunou), operations without libvirt_qemud (Atsushi SAKAI), fix spec file (Florian La Roche, Jeremy @@ -228,14 +228,14 @@ and check the ChangeLog to gauge progress.

        0 Berrange), bridged config configuration (Daniel Berrange), erroneous XEN_V2_OP_SETMAXMEM value (Masayuki Sunou), memory free error (Mark McLoughlin), set VIR_CONNECT_RO on read-only connections (S.Sakamoto), - avoid memory explosion bug (Daniel Berrange), integer overflow + avoid memory explosion bug (Daniel Berrange), integer overflow for qemu CPU time (Daniel Berrange), QEMU binary path check (Daniel Berrange)

      • Cleanups: remove some global variables (Jim Meyering), printf-style functions checks (Jim Meyering), better virsh error messages, increase compiler checkings and security (Daniel Berrange), virBufferGrow usage and docs, use calloc instead of malloc/memset, replace all sprintf by - snprintf, avoid configure clobbering user's CTAGS (Jim Meyering), + snprintf, avoid configure clobbering user's CTAGS (Jim Meyering), signal handler error cleanup (Richard Jones), iptables internal code claenup (Mark McLoughlin), unified Xen driver (Richard Jones), cleanup XPath libxml2 calls, IPTables rules tightening (Daniel @@ -246,7 +246,7 @@ and check the ChangeLog to gauge progress.

        0 handling of CD-Rom device without device name (Nobuhiro Itou), fix hypervisor call to work with Xen 3.0.5 (Daniel Berrange), DomainGetOSType for inactive domains (Daniel Berrange), multiple boot - devices for HVM (Daniel Berrange), + devices for HVM (Daniel Berrange),

      0.2.1: Mar 16 2007

      • Various internal cleanups (Richard Jones,Daniel Berrange,Mark McLoughlin)
      • Bug fixes: libvirt_qemud daemon path (Daniel Berrange), libvirt @@ -267,7 +267,7 @@ and check the ChangeLog to gauge progress.

        0 Berrange), pointer/int mismatch (Richard Jones), configure time selection of drivers, libvirt spec hacking (Daniel Berrange)

      • Add support for network autostart and init scripts (Mark McLoughlin)
      • -
      • New API virConnectGetCapabilities() to detect the virtualization +
      • New API virConnectGetCapabilities() to detect the virtualization capabilities of a host (Richard Jones)
      • Minor improvements: qemud signal handling (Mark), don't shutdown or reboot domain0 (Kazuki Mizushima), QEmu version autodetection (Daniel Berrange), @@ -283,7 +283,7 @@ and check the ChangeLog to gauge progress.

        0 parsing (Richard Jones)

      • Add support for QEmu and KVM virtualization (Daniel Berrange)
      • Add support for network configuration (Mark McLoughlin)
      • -
      • Minor improvements: regression testing (Daniel Berrange), +
      • Minor improvements: regression testing (Daniel Berrange), localization string updates

      0.1.11: Jan 22 2007

      • Finish XML <-> XM config files support
      • Remove memory leak when freeing virConf objects
      • diff --git a/docs/news.xsl b/docs/news.xsl index 781698eb1e..0a23762a45 100644 --- a/docs/news.xsl +++ b/docs/news.xsl @@ -34,7 +34,7 @@ - at + at diff --git a/docs/search.php b/docs/search.php index 88de549c1b..e7657903ff 100644 --- a/docs/search.php +++ b/docs/search.php @@ -66,7 +66,7 @@ $result = mysql_query ("SELECT words.relevance, symbols.name, symbols.type, symbols.module, symbols.descr FROM words, symbols WHERE LCASE(words.name) LIKE LCASE('$word') and words.symbol = symbols.name ORDER BY words.relevance DESC LIMIT 75"); if ($result) { $j = mysql_num_rows($result); - if ($j == 0) + if ($j == 0) mysql_free_result($result); } logQueryWord($word); @@ -80,7 +80,7 @@ $result = mysql_query ("SELECT relevance, name, id, resource, section FROM wordsHTML WHERE LCASE(name) LIKE LCASE('$word') ORDER BY relevance DESC LIMIT 75"); if ($result) { $j = mysql_num_rows($result); - if ($j == 0) + if ($j == 0) mysql_free_result($result); } logQueryWord($word); @@ -94,7 +94,7 @@ $result = mysql_query ("SELECT wordsArchive.relevance, wordsArchive.name, 'libvir-list', archives.resource, archives.title FROM wordsArchive, archives WHERE LCASE(wordsArchive.name) LIKE LCASE('$word') and wordsArchive.ID = archives.ID ORDER BY relevance DESC LIMIT 75"); if ($result) { $j = mysql_num_rows($result); - if ($j == 0) + if ($j == 0) mysql_free_result($result); } logQueryWord($word); diff --git a/docs/site.xsl b/docs/site.xsl index 30ee712603..977432b447 100644 --- a/docs/site.xsl +++ b/docs/site.xsl @@ -263,7 +263,7 @@
        @@ -286,7 +286,7 @@

        -
        +