]>
git.ipfire.org Git - thirdparty/libvirt.git/log
Daniel Veillard [Fri, 1 Aug 2008 06:42:45 +0000 (06:42 +0000)]
* docs/formatdomain.html docs/formatdomain.html.in docs/libvirt-api.xml
docs/libvirt-refs.xml docs/html/libvirt-libvirt.html src/libvirt.c:
fixed somedocs and API entry point descriptions as suggested by
Charles Duffy and regenerated the API descriptions.
Daniel
Daniel Veillard [Fri, 1 Aug 2008 06:28:33 +0000 (06:28 +0000)]
Adding Charles Duffy as author, Daniel
Daniel Veillard [Fri, 1 Aug 2008 06:23:31 +0000 (06:23 +0000)]
* src/qemu_driver.c: apply patch from Charles Duffy fixing erro
messages when trying to crate a domain already defined.
Daniel
Daniel P. Berrange [Thu, 31 Jul 2008 14:39:30 +0000 (14:39 +0000)]
Fix autoport when domain is inactive
Chris Lalancette [Thu, 31 Jul 2008 12:30:34 +0000 (12:30 +0000)]
From Charles Duffy:
Per subject; if autoport is in use for a host, the current
virDomainGraphicsDefFormat code always emits "port=-1", even if a port
is assigned to the host; this leaves no way for a client to find the VNC
port assigned to the host in question.
This patches fixes it by putting the vncport in place if there is one, and
only putting "-1" if we fail that test.
Daniel Veillard [Wed, 30 Jul 2008 09:20:19 +0000 (09:20 +0000)]
* src/qemu_driver.c: patch from Guido Günther, interface stats should
not crash on interfaces without an ifname.
Daniel
Daniel Veillard [Wed, 30 Jul 2008 08:52:44 +0000 (08:52 +0000)]
* src/storage_backend_logical.c: patch from David Lively fixing
small differences of behaviour for 'lvs' and 'vgs' on SLES
Daniel
Daniel Veillard [Wed, 30 Jul 2008 08:47:10 +0000 (08:47 +0000)]
* qemud/qemud.c: patch from Guido Günther fixing the place where
config file check is done.
Daniel
Chris Lalancette [Tue, 29 Jul 2008 12:09:21 +0000 (12:09 +0000)]
The new generic domain re-factor introduced a small regression into the drive
handling code. In particular, if you had a section of XML like:
<disk type='file' device='cdrom'>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
This used to work with older libvirt, but now fails. This is because we are
actually passing the literal string (null) to the qemu command-line, which qemu
barfs on. This patch fixes it up by making it blank, which allows qemu to
continue on it's merry way.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
Daniel Veillard [Tue, 29 Jul 2008 08:42:56 +0000 (08:42 +0000)]
build OpenVZ and LXC support by default, fix OpenVZ build
* src/openvz_conf.c: fix compilation with new XPath interface
signatures
* configure.in: build OpenVZ and LXC support by default
Daniel
Daniel Veillard [Mon, 28 Jul 2008 14:06:54 +0000 (14:06 +0000)]
OpenVZ xml refactoring
* src/domain_conf.[ch] src/openvz_conf.[ch] src/openvz_driver.c:
patch from Evgeniy Sokolov doing the OpenVZ xml refactoring,
still needs to be ported to the new XML parsing code but
implements the new format.
Daniel
Daniel Veillard [Mon, 28 Jul 2008 12:52:37 +0000 (12:52 +0000)]
* src/qemu_driver.c: patch from Guido Günther to make sure create
doesn't override an existing domain definition or UUID
Daniel
Daniel P. Berrange [Fri, 25 Jul 2008 16:25:11 +0000 (16:25 +0000)]
Fix misc typos in domain XML handling
Daniel P. Berrange [Fri, 25 Jul 2008 16:19:00 +0000 (16:19 +0000)]
Remove unused c-ctype.h include
Daniel P. Berrange [Fri, 25 Jul 2008 14:27:25 +0000 (14:27 +0000)]
Fix reporting of errors against virConnect object in XML apis
Daniel P. Berrange [Fri, 25 Jul 2008 14:10:49 +0000 (14:10 +0000)]
Switch XM config file driver to use new domain APIs for XML to config conversion
Daniel P. Berrange [Fri, 25 Jul 2008 13:50:08 +0000 (13:50 +0000)]
Switch XM config file driver to use new domain APIs for XML generation
Daniel P. Berrange [Fri, 25 Jul 2008 13:39:02 +0000 (13:39 +0000)]
Prepare xm_internal driver for new domain XML apis
Daniel P. Berrange [Fri, 25 Jul 2008 13:27:12 +0000 (13:27 +0000)]
Fix test driver inactive domains and domain ID allocation
Daniel P. Berrange [Fri, 25 Jul 2008 13:17:27 +0000 (13:17 +0000)]
Convert XenD XML->SEXPR conversion to new domain XML APIs
Daniel Veillard [Fri, 25 Jul 2008 12:37:06 +0000 (12:37 +0000)]
Skip python bindings for virDomainBlockPeek and virDomainMemoryPeek
* python/generator.py: skip generation for virDomainBlockPeek and
virDomainMemoryPeek as they break the build
Daniel
Daniel P. Berrange [Fri, 25 Jul 2008 10:49:33 +0000 (10:49 +0000)]
Convert XenD SEXPR->XML convesion to new domain XML APIs
Daniel P. Berrange [Fri, 25 Jul 2008 09:51:23 +0000 (09:51 +0000)]
Remove unused/no-op Xen driver code
Daniel P. Berrange [Fri, 25 Jul 2008 09:43:23 +0000 (09:43 +0000)]
Enable openvz, lxc and xen proxy in automated builds
Daniel P. Berrange [Fri, 25 Jul 2008 09:31:24 +0000 (09:31 +0000)]
Misc bug fixes
Daniel Veillard [Fri, 25 Jul 2008 09:01:25 +0000 (09:01 +0000)]
* src/qemu_driver.c: some uuid to string conversion were missing
patch from Guido Günther
Daniel
Daniel Veillard [Fri, 25 Jul 2008 08:52:19 +0000 (08:52 +0000)]
Remove Xen centric comments, rebuild the docs
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
remove Xen centric comments patch from Guido Günther
* docs/apibuild.py: ignore VIR_DEPRECATED
* docs/libvirt-*.xml docs/html/libvirt-*.html: regenerated the
documentation for the API
Daniel
Daniel Veillard [Fri, 25 Jul 2008 08:42:05 +0000 (08:42 +0000)]
wrong open() failure detection
* src/qemu_driver.c: Guido Trotter pointed out a wrong open() failure
detection
Daniel
Daniel Veillard [Fri, 25 Jul 2008 06:37:20 +0000 (06:37 +0000)]
* docs/libvirt.rng: patch from John Levon fixing various patterns
Daniel
Daniel Veillard [Thu, 24 Jul 2008 07:29:50 +0000 (07:29 +0000)]
Check for already running QEmu domain on create
* src/qemu_driver.c: another patch from Guido Günther checking
for an already running domain on create
Daniel
Daniel Veillard [Thu, 24 Jul 2008 07:09:45 +0000 (07:09 +0000)]
* src/qemu_driver.c: patch from Guido Günther checking for
unsupported migrate command
Daniel
Daniel Veillard [Tue, 22 Jul 2008 17:49:53 +0000 (17:49 +0000)]
documentation for java bindings
* docs/java.html docs/java.html.in: added documentation for the
java bindings
Daniel
Jim Meyering [Tue, 22 Jul 2008 16:12:01 +0000 (16:12 +0000)]
better diagnostic when failing to undefine a running domain via ID
* src/virsh.c (cmdUndefine): Tell user to shutdown and then use name or UUID.
* tests/undefine: New test. Exercise virsh's undefine command.
* tests/Makefile.am (test_scripts): Add undefine.
Daniel Veillard [Tue, 22 Jul 2008 09:52:31 +0000 (09:52 +0000)]
fix a warning when no proxy is configured in, Daniel
Daniel Veillard [Mon, 21 Jul 2008 13:34:19 +0000 (13:34 +0000)]
cleaning up integer string parsing
* src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
cleaning up integer string parsing.
Daniel
Daniel Veillard [Mon, 21 Jul 2008 12:06:16 +0000 (12:06 +0000)]
Fix compile , Daniel
Daniel Veillard [Mon, 21 Jul 2008 09:48:01 +0000 (09:48 +0000)]
* src/xen_unified.c: fix a leak in xenUnifiedOpen
Daniel
Daniel Veillard [Mon, 21 Jul 2008 08:08:25 +0000 (08:08 +0000)]
OpenVZ domain cpu time
* src/openvz_driver.c: patch from Evgeniy Sokolov to get OpenVZ
domain cpu time consumption.
Daniel
Daniel Veillard [Mon, 21 Jul 2008 08:03:58 +0000 (08:03 +0000)]
xen lib detection patch on 64bits
* configure.in: patch from David Lively to try to detect the xen
libs when using --with-xen-distdir= on 64bit arches.
Daniel
Daniel Veillard [Mon, 21 Jul 2008 07:31:14 +0000 (07:31 +0000)]
* src/openvz_driver.c: patch from Evgeniy Sokolov avoiding domain
lookups based on ID as this doesn't work for a stopped domain.
Daniel
Jim Meyering [Sat, 19 Jul 2008 07:42:34 +0000 (07:42 +0000)]
remove unnecessary "V = NULL;" stmts after VIR_FREE(V)
* src/domain_conf.c (virDomainChrDefParseXML)
(virDomainNetDefParseXML): Likewise.
* src/iptables.c (iptRuleFree): Likewise.
* src/storage_backend.c (virStorageBackendRunProgRegex): Likewise.
* src/test.c (testOpenFromFile): Likewise.
* src/xmlrpc.c (xmlRpcCallRaw): Likewise.
Jim Meyering [Fri, 18 Jul 2008 11:02:18 +0000 (11:02 +0000)]
enable format-safety checks for virDomainReportError
* src/domain_conf.c (virDomainReportError): Declare using
ATTRIBUTE_FORMAT(printf, 3, 4).
* Makefile.maint (msg_gen_function): Add virDomainReportError.
Daniel Veillard [Thu, 17 Jul 2008 15:20:28 +0000 (15:20 +0000)]
fix pool-create for netfs format 'auto'
* src/storage_backend_fs.c: patch from Cole Robinson fixing
pool-create for netfs format 'auto'
Daniel
Daniel Veillard [Thu, 17 Jul 2008 11:49:15 +0000 (11:49 +0000)]
undefine command can't take an ID
* src/virsh.c: patch from Evgeniy Sokolov for the undefine command
which can't take an id
Daniel
Daniel Veillard [Wed, 16 Jul 2008 20:42:38 +0000 (20:42 +0000)]
ID domain lookup fixup
* src/libvirt.c src/openvz_driver.c: fix the description of the ID
domain lookup and fix the OpenVZ routine
Daniel
Daniel Veillard [Wed, 16 Jul 2008 15:27:00 +0000 (15:27 +0000)]
lookup by ID function and error report fix for OpenVZ
* src/openvz_driver.c: fix the lookup by ID function and error
reporting in OpenVZ, fix by Evgeniy Sokolov
Daniel
Daniel Veillard [Wed, 16 Jul 2008 14:45:55 +0000 (14:45 +0000)]
cleaning up the exec calls to OpenVZ binaries
* src/openvz_driver.c: another cleanup patch from Evgeniy Sokolov
cleaning up the exec calls to OpenVZ binaries
Daniel
Daniel P. Berrange [Sat, 12 Jul 2008 13:53:50 +0000 (13:53 +0000)]
Remove unneccessary include
Daniel P. Berrange [Fri, 11 Jul 2008 20:03:58 +0000 (20:03 +0000)]
Fix test file
Daniel P. Berrange [Fri, 11 Jul 2008 19:34:11 +0000 (19:34 +0000)]
Switch QEMU driver over to generic domain APIs
Daniel P. Berrange [Fri, 11 Jul 2008 19:31:26 +0000 (19:31 +0000)]
Set initial domain state to SHUTOFF
Daniel P. Berrange [Fri, 11 Jul 2008 17:59:27 +0000 (17:59 +0000)]
Use full path when loading XML files
Daniel P. Berrange [Fri, 11 Jul 2008 17:33:45 +0000 (17:33 +0000)]
Switch QEMU driver over to generic network APIs
Daniel P. Berrange [Fri, 11 Jul 2008 16:41:27 +0000 (16:41 +0000)]
Convert test driver to new domain XML apis
Daniel P. Berrange [Fri, 11 Jul 2008 16:39:08 +0000 (16:39 +0000)]
Convert test driver to new network XML apis
Daniel P. Berrange [Fri, 11 Jul 2008 16:23:36 +0000 (16:23 +0000)]
Added generic domain XML APIs
Daniel Veillard [Fri, 11 Jul 2008 11:09:44 +0000 (11:09 +0000)]
fix OpenVZ probe function
* src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function
Daniel
Daniel P. Berrange [Fri, 11 Jul 2008 10:48:34 +0000 (10:48 +0000)]
Generic APIs for network XML configuration
Daniel P. Berrange [Fri, 11 Jul 2008 09:56:23 +0000 (09:56 +0000)]
Fix booting QEMU off CDROM devices with -drive arg
Daniel P. Berrange [Fri, 11 Jul 2008 09:51:25 +0000 (09:51 +0000)]
Default to admin auth for polkit. Rename policy file
Daniel P. Berrange [Fri, 11 Jul 2008 09:50:01 +0000 (09:50 +0000)]
Don't default to polkit auth when running non-root
Daniel P. Berrange [Fri, 11 Jul 2008 09:48:51 +0000 (09:48 +0000)]
Fix parsing of QEMU stdout looking for serial device PTY with Xenner
Daniel Veillard [Fri, 11 Jul 2008 08:56:16 +0000 (08:56 +0000)]
cleanup OpenVZ config file accesses
* src/openvz_conf.c: cleanup OpenVZ config file accesses, patch
from Evgeniy Sokolov
Daniel
Daniel Veillard [Thu, 10 Jul 2008 15:29:39 +0000 (15:29 +0000)]
bug in do_open()
* src/libvirt.c: Evgeniy Sokolov found a driver open bug
in do_open()
Daniel
Daniel Veillard [Thu, 10 Jul 2008 13:24:35 +0000 (13:24 +0000)]
fixed John address
Daniel
Daniel Veillard [Thu, 10 Jul 2008 12:21:09 +0000 (12:21 +0000)]
cleanup OpenVZ error function
* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c
Makefile.maint: patch from Evgeniy Sokolov cleaning up the
error function used and format check based on Jim's fedback.
Daniel
Daniel Veillard [Thu, 10 Jul 2008 08:05:39 +0000 (08:05 +0000)]
domain name validation fix
* docs/libvirt.rng: domain name validation fix by John Levon
* AUTHORS: add John Levon
Daniel
Daniel Veillard [Thu, 10 Jul 2008 07:52:14 +0000 (07:52 +0000)]
* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: new
patch from Evgeniy Sokolov adding OpenVZ autostart get and set support
Daniel
Jim Meyering [Wed, 9 Jul 2008 16:59:28 +0000 (16:59 +0000)]
remove trailing blanks
Daniel Veillard [Wed, 9 Jul 2008 11:57:40 +0000 (11:57 +0000)]
Adds Evgeniy to AUTHORS list
Daniel
Daniel Veillard [Wed, 9 Jul 2008 11:55:27 +0000 (11:55 +0000)]
diagnostic fixes on OpenVZ failures
* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: applied
patch from Evgeniy Sokolov fixing error diagnostic when exec'ing
OpenVZ commands.
Daniel
Daniel P. Berrange [Wed, 9 Jul 2008 10:27:17 +0000 (10:27 +0000)]
Fix use of VIR_TEST_DEBUG var when OOM testing is not enabled & surpress more valgrind warnings
Daniel P. Berrange [Wed, 9 Jul 2008 10:18:03 +0000 (10:18 +0000)]
Remove legacy debug output
Daniel P. Berrange [Wed, 9 Jul 2008 08:46:09 +0000 (08:46 +0000)]
Fix QEMU test for xen bootloader
Daniel P. Berrange [Wed, 9 Jul 2008 08:35:09 +0000 (08:35 +0000)]
Preserve context node when doing XPath queries to allow relative XPath expressions
Daniel P. Berrange [Wed, 9 Jul 2008 08:17:51 +0000 (08:17 +0000)]
Ignore JIT'd python files
Jim Meyering [Wed, 9 Jul 2008 05:24:08 +0000 (05:24 +0000)]
give a more useful diagnostic for tap-add failure w/ENOTSUP
* src/qemu_conf.c (qemudNetworkIfaceConnect):
Suggestion from Daniel P. Berrange.
Daniel P. Berrange [Tue, 8 Jul 2008 17:49:26 +0000 (17:49 +0000)]
Fix typo in domain state constant
Daniel P. Berrange [Tue, 8 Jul 2008 17:44:56 +0000 (17:44 +0000)]
Fix three typos pointed out by Anton Protopopov
Daniel P. Berrange [Tue, 8 Jul 2008 12:05:13 +0000 (12:05 +0000)]
Update RNG schema for domains
Daniel P. Berrange [Mon, 7 Jul 2008 11:48:40 +0000 (11:48 +0000)]
Fix openvz build on x86_64
Daniel P. Berrange [Mon, 7 Jul 2008 10:36:30 +0000 (10:36 +0000)]
Remove bogus return statement in test code
Daniel P. Berrange [Mon, 7 Jul 2008 10:10:29 +0000 (10:10 +0000)]
ALlow OOM tests to be parallelized
Daniel Veillard [Mon, 7 Jul 2008 10:00:30 +0000 (10:00 +0000)]
* proxy/libvirt_proxy.c: fix a compilation problem without Xen
* libvirt.spec.in: add %{release] to BuildRoot
Daniel
Daniel P. Berrange [Mon, 7 Jul 2008 09:52:26 +0000 (09:52 +0000)]
Fix memory leak in OOM cleanup
Dan Smith [Wed, 2 Jul 2008 14:20:10 +0000 (14:20 +0000)]
Updated ChangeLog for recent LXC patches
Atsushi SAKAI [Mon, 30 Jun 2008 05:11:13 +0000 (05:11 +0000)]
Compilation fix for MinGW(w/ LXC)
Dan Smith [Fri, 27 Jun 2008 15:05:31 +0000 (15:05 +0000)]
[LXC] Remove unused variable and fix uninitialized variable
Also remove a stale comment in the area. This makes libvirt compile when
passed --with-lxc and --enable-compiler-warnings=error
Dan Smith [Thu, 26 Jun 2008 16:09:48 +0000 (16:09 +0000)]
[LXC] Add setup/cleanup of container network interfaces
Dan Smith [Thu, 26 Jun 2008 16:08:59 +0000 (16:08 +0000)]
[LXC] Add XML parsing of container network interfaces.
Dan Smith [Thu, 26 Jun 2008 16:07:48 +0000 (16:07 +0000)]
[LXC] Add functions to manage veth device pairs
This gives us the ability to create a veth pair so that we can move one
into the network namespace of an LXC container.
Dan Smith [Thu, 26 Jun 2008 16:05:02 +0000 (16:05 +0000)]
[LXC] Detect support for NETNS in lxc driver initialization
Allow check for containers support to be done without CLONE_NEWNET, and then
determine support on the fly by checking for iproute2 support and a
successful clone(CLONE_NEWNET). This lets us set a flag for later, as well
as not completely disable LXC support on a system without NETNS support.
Atsushi SAKAI [Thu, 26 Jun 2008 10:56:19 +0000 (10:56 +0000)]
Fix make syntax-check
Atsushi SAKAI [Thu, 26 Jun 2008 09:37:51 +0000 (09:37 +0000)]
Compilation fixes for MinGW
Jim Meyering [Wed, 25 Jun 2008 14:21:44 +0000 (14:21 +0000)]
quiet "make syntax-check"
* Makefile.maint (strftime-check): Add "@" prefix.
(po-check): Likewise.
Daniel Veillard [Wed, 25 Jun 2008 11:42:27 +0000 (11:42 +0000)]
* python/types.c: patch from Ryan Scott to remove misplaced verbosity
when compiling in debug mode.
Daniel
Daniel Veillard [Wed, 25 Jun 2008 08:59:37 +0000 (08:59 +0000)]
* configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.4
release
* src/xm_internal.c: fix xm driver serialization escapes
* tests/xmconfigtest.c tests/xmconfigdata/test-escape-paths.cfg
tests/xmconfigdata/test-escape-paths.xml: add test for previous
problem
Daniel
Daniel Veillard [Wed, 25 Jun 2008 08:49:54 +0000 (08:49 +0000)]
* po/*: updated a couple of localizations and regenerated the
files
Daniel
Daniel P. Berrange [Tue, 24 Jun 2008 15:00:15 +0000 (15:00 +0000)]
Added helpers for dealing with enumerations
Daniel P. Berrange [Tue, 24 Jun 2008 14:30:25 +0000 (14:30 +0000)]
Fix const-ness of virStorageBackendRunProgRegex()