Daniel Veillard [Mon, 28 Apr 2008 08:29:35 +0000 (08:29 +0000)]
* docs/Makefile.am docs/et.png docs/libvirt.css docs/page.xsl
docs/*.html docs/html/*.html: removed footer, added sponsor logo
regenerated the html pages also fixed 'make distcheck' as
pointed by Jim.
Daniel
Daniel Veillard [Fri, 25 Apr 2008 15:46:46 +0000 (15:46 +0000)]
group ownership of /var/run/libvirt/
* qemud/qemud.c: applied patch from Anton Protopopov to change
group ownership of /var/run/libvirt/ to unix_sock_gid.
Daniel
Fixes for MinGW.
* configure.in: Fix pkg-config detection of libxml2,
add -lgcrypt to gnutls lib.
* src/Makefile.am: If compiling --without-libvirtd then
don't compile any part of the storage driver.
* configure.in, src/hash.c, src/internal.h: Detect availability
of pthread library and compile out mutex code if not available.
* src/storage_driver.c, src/util.c: Ignore some missing
headers on MinGW.
Jim Meyering [Thu, 10 Apr 2008 16:54:54 +0000 (16:54 +0000)]
convert TAB-based indentation in C sources to use only spaces
Done using this command (also includes .c.in and .h.in files):
for i in $(g ls-files|grep -E '\.[ch](\.in)?$'|grep -v gnulib); do
expand -i $i > j && mv j $i;done
Daniel Veillard [Thu, 10 Apr 2008 13:30:17 +0000 (13:30 +0000)]
Ask xend to remove device in the config file too
* src/xend_internal.c: applied a patch from Ryan Scott to ask
xend to save the device removal change in the config file
Daniel
Daniel Veillard [Thu, 10 Apr 2008 07:30:52 +0000 (07:30 +0000)]
* src/Makefile.am src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
src/lxc_container.h src/lxc_driver.c: Applied second set of
linux container patches from Dave Leskovec adding start/stop
of domains
Daniel
Jim Meyering [Tue, 8 Apr 2008 15:33:16 +0000 (15:33 +0000)]
Don't fail to read a file because it's non-seekable (e.g., a pipe).
* src/util.c (fread_file_lim): New function.
(__virFileReadAll): Use fread_file_lim, rather than requiring
that stat.st_size provide a usable file size.
* tests/read-non-seekable: New test, for the above.
* tests/Makefile.am (test_scripts): Add read-non-seekable.
* tests/test-lib.sh (mkfifo_or_skip_): New helper function.
Daniel Veillard [Tue, 8 Apr 2008 09:26:24 +0000 (09:26 +0000)]
adds xen and hvm guest types to test driver capabilities
* src/test.c: patch from Cole Robinson adding xen and hvm guest types
to the test driver's capabilities.
Daniel
Daniel Veillard [Fri, 4 Apr 2008 08:06:18 +0000 (08:06 +0000)]
doc and localization updates
* docs//* po/*: regenerated the documentation and reextracted the
full set of localization strings to push to the translation team.
Daniel
Daniel Veillard [Fri, 4 Apr 2008 07:58:29 +0000 (07:58 +0000)]
typos fixes
* docs//* src/conf.c src/hash.c src/libvirt.c src/proxy_internal.c
src/remote_internal.c src/virsh.c src/xen_internal.c
src/xend_internal.c src/xml.c: applied patch from Atsushi SAKAI
fixing a lot of typos
Daniel
Daniel Veillard [Mon, 31 Mar 2008 14:38:12 +0000 (14:38 +0000)]
remove dandling domain/net/conn pointers from error data
* src/hash.c src/internal.h src/virterror.c: remove dandling
domain/net/conn pointers from error data when released.
* src/lxc_driver.c: fix a NULL/0 return error mismatch
Daniel
Daniel Veillard [Mon, 31 Mar 2008 12:02:12 +0000 (12:02 +0000)]
linux countainers cleanup patches
* src/lxc_conf.c src/lxc_conf.h: cleanup patch for the conf driver
of linux countainers, reuse XPath helpers, make string fields dynamic
and remove a memory leak.
* src/lxc_driver.c: avoid some problems when the config directory is
not accessible and for regression tests
Daniel
Jim Meyering [Thu, 27 Mar 2008 13:56:28 +0000 (13:56 +0000)]
Convert diagnostics like "VAR > MAX_VAR" to translatable messages.
* src/remote_internal.c (errorf): New function.
(remoteListDomains, remoteDomainPinVcpu, remoteDomainGetVcpus):
(remoteListDefinedDomains, remoteListNetworks):
(remoteListDefinedNetworks): Convert strings to be translatable,
and also to include offending and maximum values. Use errorf.
Daniel Veillard [Thu, 27 Mar 2008 09:34:06 +0000 (09:34 +0000)]
Linux container fixes, move driver in the daemon.
* src/lxc_conf.c src/lxc_conf.h src/lxc_driver.c src/remote_internal.c:
applied patch from Dan Berrange to change the way the lxc driver
works, migrating the support in the daemon, it also removes some
compilation issues and teh way the configuration files are named.
Daniel
Daniel Veillard [Thu, 27 Mar 2008 08:11:27 +0000 (08:11 +0000)]
support of older versions of iscsiadm.
* src/storage_backend_iscsi.c: patch from Chris Lalancette to improve
support with older versions of iscsiadm.
Daniel
Jim Meyering [Mon, 24 Mar 2008 10:19:36 +0000 (10:19 +0000)]
Add new testing framework and the first test to use it.
* tests/Makefile.am (test_scripts): Add vcpupin.
(EXTRA_DIST): Add test-lib.sh.
* tests/test-lib.sh: Testing framework, from coreutils.
* tests/vcpupin: New file.
* build-aux/mktempd: New file, from gnulib.
* bootstrap: Add posix-shell and mktempd to the list of imported modules.
* gnulib/m4/posix-shell.m4: New file, from gnulib.
Jim Meyering [Mon, 24 Mar 2008 10:18:36 +0000 (10:18 +0000)]
Fix bugs in tests/Makefile.am.
* tests/Makefile.am (TESTS_ENVIRONMENT): Correct invalid
settings of abs_top_builddir and abs_top_srcdir.
Also prepend src/ to PATH, so we test the just-built virsh,
not whatever happens to be in the original $PATH.
Daniel Veillard [Mon, 24 Mar 2008 09:23:32 +0000 (09:23 +0000)]
* src/xend_internal.c: applied patch from Saori Fukuta adding the
scheduler API for the Xen daemon driver
* po/POTFILES.in: add the two new linux container modules
Daniel
Daniel Veillard [Fri, 21 Mar 2008 15:03:37 +0000 (15:03 +0000)]
Initial Linux containers work
* configure.in include/libvirt/virterror.h src/Makefile.am
src/driver.h src/lxc_conf.[ch] src/lxc_driver.[ch] src/virterror.c:
Applied 3 patches from Dave Leskovec for intial support of
Linux containers, configured off by default, work in progress.
* src/libvirt.c: improve virDomainCreateLinux xmlDesc description
Daniel
Daniel Veillard [Thu, 20 Mar 2008 11:24:30 +0000 (11:24 +0000)]
* src/util.c src/util.h src/xml.c: applied patch from Hiroyuki Kaguchi
fixing Ethernet MAC addresses parsingand separating as an util
function, with added comments from Jim Meyering
Daniel