Daniel Veillard [Wed, 1 Oct 2008 15:31:02 +0000 (15:31 +0000)]
Xen interface order and fix python parallel build
* src/xend_internal.c: fix ordering when parsing multiple Xen
interfaces, patch by Jim Fehlig
* python/Makefile.am: fix parallel build
Daniel
Daniel Veillard [Tue, 23 Sep 2008 20:48:49 +0000 (20:48 +0000)]
* configure.in libvirt.spec.in NEWS docs/*: release of libvirt-0.4.6
* src/storage_backend_logical.c: re-add the -f flag to vgremove
* po/*: rebuilt
Daniel
Daniel Veillard [Mon, 22 Sep 2008 20:22:35 +0000 (20:22 +0000)]
cleanup and removal for pools in logical backend
* src/storage_backend_logical.c: enable stop pool in logical backend
improve portability when deleting a pool and also call pvremove
patch by Chris Lalancette
Daniel
Documentation cleanups.
* docs/bindings.html.in: Clean up the bindings page, and add
C# and Java.
* docs/windows.html.in: Remove old bogus information and add
placeholder.
Daniel Veillard [Mon, 8 Sep 2008 12:45:29 +0000 (12:45 +0000)]
add domain name in network configurations suport and on OpenVZ config bugfix
* src/network_conf.c src/network_conf.h src/qemu_driver.c: add
support for a domain name in network configurations, patch by
JJ Reynolds with bugfix raised by Dan
* src/openvz_conf.c: fix to small bug in openvzReadConfigParam
by Evgeniy Sokolov
Daniel
Daniel Veillard [Mon, 8 Sep 2008 08:03:54 +0000 (08:03 +0000)]
finish applying initialization patch for logical storage backend
* src/storage_backend_logical.c: finish applying initialization
from Jim Fehlig patch for logical storage backend
Daniel
Daniel Veillard [Thu, 4 Sep 2008 13:13:32 +0000 (13:13 +0000)]
fix a miscalculation of command line size for vgcreate
* src/storage_backend_logical.c: fix a miscalculation of command line
size for vgcreate, patch from Jim Fehlig
Daniel
Dan Smith [Wed, 3 Sep 2008 17:21:27 +0000 (17:21 +0000)]
Add LXC version implementation
This patch adds an implementation of the version function to the LXC driver.
The providers use the hypervisor version in a field of one of the instances,
so we need to have something meaningful here. AFAICT, the only real option
we have (considering the limitations of the libvirt version information) is
to use the kernel version.
Daniel Veillard [Tue, 2 Sep 2008 15:00:09 +0000 (15:00 +0000)]
check availbility of emulators before reporting them in capabilities
* src/qemu_conf.c: patch from Cole Robinson to report in the
capabilities only the ones where the emulators is actually found
* po/libvirt.pot: regenerated
* src/libvirt.c: small typo fix
Daniel
Daniel Veillard [Tue, 2 Sep 2008 14:15:42 +0000 (14:15 +0000)]
Adds storage source element for pools
* src/storage_backend.h src/storage_backend_logical.c
src/storage_conf.c src/storage_conf.h src/virsh.c:
Applied patches from David Lively to add storage source
elements needed for storage pool
* docs/formatstorage.html docs/formatstorage.html.in: associated
documentation
Daniel
Jim Meyering [Tue, 2 Sep 2008 10:29:51 +0000 (10:29 +0000)]
util.c: add a file-descriptor-based wrapper for fread_file_lim
* src/util.c (virFileReadLimFP): New function.
(__virFileReadLimFD): New function.
* src/util.h (__virFileReadLimFD): Declare.
(virFileReadLimFD): Define.
(virFileReadAll): Rewrite to use virFileReadLimFP.
Jim Meyering [Thu, 28 Aug 2008 09:08:44 +0000 (09:08 +0000)]
improve parallel build support
* autobuild.sh: Append -j$N to MAKEFLAGS, if no -j option is there.
* libvirt.spec.in: Use %{?_smp_mflags} with "make".
Based on a patch from James Morris:
http://thread.gmane.org/gmane.comp.emulators.libvirt/8201
Jim Meyering [Fri, 22 Aug 2008 08:32:58 +0000 (08:32 +0000)]
configure.in: link with -lpthread when necessary
* configure.in: Explicitly add -lpthread to $LIBS.
With an empty "ACTION_IF_FOUND", AC_CHECK_LIB would have done
that for us automatically, but when there is an explicit third
argument, those commands are run instead of the default.
Reported by Jun Koi <junkoi2004@gmail.com>.
Jim Meyering [Thu, 21 Aug 2008 19:31:55 +0000 (19:31 +0000)]
autobuild.sh: Fix minor shell-quoting bugs.
* autobuild.sh: Remove unnecessary quotes.
Don't choke on a file name argument containing a space.
Don't misbehave for $AUTOBUILD_INSTALL_ROOT containing
a shell meta-character.
Daniel Veillard [Wed, 20 Aug 2008 13:44:03 +0000 (13:44 +0000)]
add cpu management functionality to OpenVZ driver
* src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
to limit the number of CPUs used by OpenVZ domains.
Daniel
Daniel Veillard [Wed, 20 Aug 2008 13:33:01 +0000 (13:33 +0000)]
Fix creating and cleaning up logical volumes if a target path is specified
* src/storage_backend_logical.c: Patch from Cole Robinson, fix
creating and cleaning up logical volumes if a target path is
specified.
Daniel
Daniel Veillard [Wed, 20 Aug 2008 13:16:29 +0000 (13:16 +0000)]
Handle HTML generation in the absence of XHTML1 DTDs
* configure.in libvirt.spec.in docs/Makefile.am: fix the problem
of HTML generation in the absence of XHTML1 DTDs in the system
catalog.
Daniel