Daniel Veillard [Tue, 15 Dec 2009 14:49:51 +0000 (15 14:49 +0000)]
libvirt-0.6.3-25.el5
- fix python binding generator to avoid clashes in method names
- Resolves: rhbz#510427
- nodedev-destroy can hang libvirtd
- Resolves: rhbz#510430
- avoid spurious errors on npiv device creation
- Resolves: rhbz#514324
- node device APIs should expose the relationship between SR-IOV VFs and PFs
- Resolves: rhbz#481748
- implement --pool option for virsh vol-path
- Resolves: rhbz#509306
- cannot delete storage pool problem
- Resolves: rhbz#496579
- Can not hotplug vtd device to Xen guest
- Resolves: rhbz#546671
- Inactive KVM guest memory reporting via 'info' is strange
- Resolves: rhbz#508266
- command 'virsh nodedev-create' fails with out of memory error
- Resolves: rhbz#510426
- Command 'virsh find-storage-pool-sources' failure unknown error
- Resolves: rhbz#509979
Daniel Veillard [Fri, 24 Apr 2009 16:25:34 +0000 (24 16:25 +0000)]
libvirt-0.6.3-1.el5
- Upstream release 0.6.3
- various bug fixes
- a couple of packaging fixes including #496867
- Related: rhbz#475821
Jiri Denemark [Sat, 1 Jan 2000 00:00:00 +0000 (1 00:00 +0000)]
RHEL-5 libvirt Init
Daniel P. Berrange [Wed, 1 Apr 2009 10:39:12 +0000 (1 10:39 +0000)]
Fix crash after calling virConnectClose
Daniel P. Berrange [Wed, 1 Apr 2009 10:37:57 +0000 (1 10:37 +0000)]
Fix generation of networkCreateXML and storagePoolCreateXML
Jim Meyering [Tue, 3 Mar 2009 11:25:00 +0000 (3 11:25 +0000)]
update .gitignore and .hgignore files
Daniel P. Berrange [Tue, 3 Mar 2009 09:14:28 +0000 (3 09:14 +0000)]
Internal driver API for sVirt support (James Morris & Dan Walsh)
Daniel P. Berrange [Mon, 2 Mar 2009 20:24:46 +0000 (2 20:24 +0000)]
Ignore some generated autotools files in example app
Daniel Veillard [Thu, 26 Feb 2009 13:58:35 +0000 (26 13:58 +0000)]
* python/Makefile.am: avoid a parallel make issue #472702
provided by Michael Marineau
Daniel
Cole Robinson [Mon, 16 Feb 2009 22:44:49 +0000 (16 22:44 +0000)]
Fix building python bindings: Skip bindings for virSaveLastError and
virFreeError
Daniel P. Berrange [Tue, 20 Jan 2009 22:10:52 +0000 (20 22:10 +0000)]
Use global thread-local error for all python error reporting
Daniel P. Berrange [Thu, 18 Dec 2008 12:25:11 +0000 (18 12:25 +0000)]
Replace __FUNCTION__ with __func__ for better portability (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 12:20:00 +0000 (18 12:20 +0000)]
Fix gcc-ism in python build (John Levon)
Jim Meyering [Mon, 15 Dec 2008 10:24:54 +0000 (15 10:24 +0000)]
syntax-check: enforce the no-cvs-keywords prohibition
* Makefile.maint (sc_prohibit_cvs_keyword): New rule.
Suggested by Daniel Veillard.
The new test exposed two uses of $Date$.
* docs/Goals: Don't use $Date$.
* python/TODO: Likewise.
Daniel P. Berrange [Tue, 25 Nov 2008 10:44:52 +0000 (25 10:44 +0000)]
Support domain lifecycle events for Xen (Ben Guthro & Daniel Berrange)
Daniel P. Berrange [Mon, 24 Nov 2008 19:28:12 +0000 (24 19:28 +0000)]
Fix python bindings events code (David Lively)
Daniel P. Berrange [Fri, 21 Nov 2008 12:41:15 +0000 (21 12:41 +0000)]
Python binding for node device APIs (David Lively)
Daniel P. Berrange [Wed, 19 Nov 2008 16:24:01 +0000 (19 16:24 +0000)]
Add a virFreeCallback to event loop APIs
Daniel P. Berrange [Wed, 19 Nov 2008 16:19:36 +0000 (19 16:19 +0000)]
Change public API for virEventAddHandle to allow multiple registrations per FD
Daniel P. Berrange [Wed, 19 Nov 2008 15:25:24 +0000 (19 15:25 +0000)]
Add a virFreeCallback to virDomainEventRegister (from David Lively)
Daniel P. Berrange [Mon, 17 Nov 2008 16:43:00 +0000 (17 16:43 +0000)]
Add domain events detail information
Daniel P. Berrange [Mon, 17 Nov 2008 10:26:09 +0000 (17 10:26 +0000)]
Fix domain events python thread safety & incorrect enum generation
Daniel Veillard [Fri, 31 Oct 2008 13:56:47 +0000 (31 13:56 +0000)]
* python/virConnect.py: needed for events from the python bindings
by Ben Guthro
daniel
Daniel Veillard [Fri, 31 Oct 2008 10:13:45 +0000 (31 10:13 +0000)]
* python/Makefile.am python/generator.py python/libvir.c
python/libvir.py python/libvirt_wrap.h python/types.c:
adds support for events from the python bindings, also
improves the generator allowing to embbed per function
definition files, patch by Ben Guthro
* examples/domain-events/events-python/event-test.py: also
adds a programming example
Daniel
Daniel Veillard [Thu, 23 Oct 2008 13:18:18 +0000 (23 13:18 +0000)]
Massive patch adding event APIs by Ben Guthro
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
src/libvirt.c src/libvirt_sym.version: new libvirt event entry
points, big patch provided by Ben Guthro
* Makefile.am configure.in src/driver.h src/event.c src/event.h
src/internal.h src/libvirt.c src/libvirt_sym.version src/lxc_driver.c
src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
src/remote_internal.c src/storage_backend_fs.c src/test.c
qemud/event.c qemud/event.h qemud/mdns.c qemud/qemud.c
qemud/qemud.h qemud/remote.c qemud/remote_dispatch_localvars.h
qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
qemud/remote_protocol.c qemud/remote_protocol.h
qemud/remote_protocol.x proxy/Makefile.am python/generator.py:
Not much is left untouched by the patch adding the events support
* docs/libvirt-api.xml docs/libvirt-refs.xml
docs/html/libvirt-libvirt.html: regenerated the docs
* examples/domain-events/events-c/Makefile.am
examples/domain-events/events-c/event-test.c: a test example
* AUTHORS: added Ben Guthro
daniel
Jim Meyering [Fri, 17 Oct 2008 10:03:15 +0000 (17 10:03 +0000)]
generate .gitignore files from .cvsignore ones
* Makefile.maint (sync-vcs-ignore-files): New target.
Prompted by a patch from James Morris.
http://thread.gmane.org/gmane.comp.emulators.libvirt/8619/focus=8773
Add all (now-generated) .gitignore files.
* .gitignore: New file.
* build-aux/.gitignore: New file.
* docs/.gitignore: New file.
* docs/devhelp/.gitignore: New file.
* docs/examples/.gitignore: New file.
* docs/examples/python/.gitignore: New file.
* gnulib/lib/.gitignore: New file.
* gnulib/lib/arpa/.gitignore: New file.
* gnulib/lib/netinet/.gitignore: New file.
* gnulib/lib/sys/.gitignore: New file.
* gnulib/tests/.gitignore: New file.
* include/.gitignore: New file.
* include/libvirt/.gitignore: New file.
* po/.gitignore: New file.
* proxy/.gitignore: New file.
* python/.gitignore: New file.
* python/tests/.gitignore: New file.
* qemud/.gitignore: New file.
* src/.gitignore: New file.
* tests/.gitignore: New file.
* tests/confdata/.gitignore: New file.
* tests/sexpr2xmldata/.gitignore: New file.
* tests/virshdata/.gitignore: New file.
* tests/xencapsdata/.gitignore: New file.
* tests/xmconfigdata/.gitignore: New file.
* tests/xml2sexprdata/.gitignore: New file.
Daniel Veillard [Wed, 1 Oct 2008 15:31:02 +0000 (1 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 P. Berrange [Fri, 22 Aug 2008 10:50:18 +0000 (22 10:50 +0000)]
Use libvirt error message for python exceptions
Daniel Veillard [Tue, 12 Aug 2008 08:11:09 +0000 (12 08:11 +0000)]
Fix connection lookup in python storage instances
* python/generator.py: patch from Cole Robinson trying to fix
problem of connection lookup when creating storage instances
Daniel
Daniel Veillard [Fri, 25 Jul 2008 12:37:06 +0000 (25 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 [Wed, 9 Jul 2008 08:17:51 +0000 (9 08:17 +0000)]
Ignore JIT'd python files
Daniel Veillard [Wed, 25 Jun 2008 11:42:27 +0000 (25 11:42 +0000)]
* python/types.c: patch from Ryan Scott to remove misplaced verbosity
when compiling in debug mode.
Daniel
Daniel Veillard [Wed, 11 Jun 2008 07:49:01 +0000 (11 07:49 +0000)]
* python/libvir.py python/libvirt-python-api.xml: more python
cleanups by Cole Robinson
Daniel
Daniel Veillard [Tue, 10 Jun 2008 15:20:25 +0000 (10 15:20 +0000)]
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
Apply patch from Cole Robinson fixing UUIDString for python
Daniel
Daniel P. Berrange [Thu, 29 May 2008 14:53:58 +0000 (29 14:53 +0000)]
Fix python code generation for storage APIs
Daniel P. Berrange [Wed, 21 May 2008 20:18:20 +0000 (21 20:18 +0000)]
Don't free C object after destroy method in python
Daniel P. Berrange [Fri, 18 Apr 2008 18:31:32 +0000 (18 18:31 +0000)]
Python header workaround
Jim Meyering [Fri, 18 Apr 2008 18:07:40 +0000 (18 18:07 +0000)]
Work around Python.h name-space pollution.
* python/libvir.c (HAVE_PTHREAD_H): #undef.
Without this, we'd get a redefinition warning.
Jim Meyering [Thu, 10 Apr 2008 16:54:54 +0000 (10 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
Jim Meyering [Thu, 10 Apr 2008 16:53:29 +0000 (10 16:53 +0000)]
remove Vim and Emacs variable settings from C source files
Done with these commands:
git grep -l Local.variab|xargs \
perl -0x3b -pi -e 's,\n+/\*\n \* vim:(.|\n)*,\n,'
git grep -l Local.variab|xargs \
perl -0x3b -pi -e 's,\n+/\*\n \* Local variables:\n(.|\n)*,\n,'
Daniel Veillard [Tue, 8 Apr 2008 08:26:15 +0000 (8 08:26 +0000)]
Fix potential infinite loop in python generator
* python/generator.py: fix an infinite loop bug
Daniel
Richard W.M. Jones [Fri, 14 Mar 2008 11:08:03 +0000 (14 11:08 +0000)]
Fix typo "informations" -> "information" (Atsushi SAKAI and
Saori FUKUTA).
Richard W.M. Jones [Fri, 29 Feb 2008 12:53:10 +0000 (29 12:53 +0000)]
Many typos fixed (Atsushi SAKAI).
Daniel P. Berrange [Wed, 20 Feb 2008 15:26:22 +0000 (20 15:26 +0000)]
Added python binding for storage APIs
Daniel Veillard [Thu, 7 Feb 2008 09:49:13 +0000 (7 09:49 +0000)]
Python bindings return values fixes
* python/libvir.c: apply patch from Cole Robinson to provide
return values for manulally written python bindings.
Daniel
Jim Meyering [Tue, 5 Feb 2008 19:27:37 +0000 (5 19:27 +0000)]
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.
Jim Meyering [Tue, 29 Jan 2008 18:15:54 +0000 (29 18:15 +0000)]
Enable the <config.h>-requiring test; fix violations
Use <config.h>, not "config.h", per autoconf documentation.
* Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
* .x-sc_require_config_h: New file, to list exempted files.
* Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
Jim Meyering [Tue, 29 Jan 2008 17:41:07 +0000 (29 17:41 +0000)]
Given code like if (foo) free (foo); remove the useless "if (foo) " part.
Likewise, given if (foo != NULL) free (foo); remove the useless "if" test.
* proxy/libvirt_proxy.c: Remove unnecessary "if" test before free.
* python/generator.py: Likewise.
* qemud/qemud.c: Likewise.
* src/buf.c: Likewise.
* src/conf.c: Likewise.
* src/hash.c: Likewise.
* src/iptables.c: Likewise.
* src/libvirt.c: Likewise.
* src/openvz_conf.c: Likewise.
* src/qemu_conf.c: Likewise.
* src/qemu_driver.c: Likewise.
* src/remote_internal.c: Likewise.
* src/test.c: Likewise.
* src/virsh.c: Likewise.
* src/virterror.c: Likewise.
* src/xen_internal.c: Likewise.
* src/xen_unified.c: Likewise.
* src/xend_internal.c: Likewise.
* src/xm_internal.c: Likewise.
* src/xml.c: Likewise.
* src/xmlrpc.c: Likewise.
* src/xs_internal.c: Likewise.
* tests/testutils.c: Likewise.
* tests/xencapstest.c: Likewise.
* tests/xmconfigtest.c: Likewise.
Daniel P. Berrange [Mon, 21 Jan 2008 15:55:53 +0000 (21 15:55 +0000)]
Make python generator fail build on any missing APIs
Daniel P. Berrange [Mon, 21 Jan 2008 15:41:15 +0000 (21 15:41 +0000)]
Add missing vcpu/schedular APIs to python binding
Jim Meyering [Thu, 17 Jan 2008 22:14:57 +0000 (17 22:14 +0000)]
Handle PyTuple_New's malloc failure.
* python/libvir.c (libvirt_virDomainBlockStats): Handle a NULL
return from PyTuple_New.
(libvirt_virDomainInterfaceStats, libvirt_virGetLastError): Likewise.
(libvirt_virConnGetLastError): Likewise.
Jim Meyering [Thu, 17 Jan 2008 22:13:55 +0000 (17 22:13 +0000)]
Factor out some duplication.
* python/libvir.c (VIR_PY_NONE): New macro, to encapsulate
a common two-statement sequence.
Replace all such 2-stmt sequences.
Jim Meyering [Tue, 11 Dec 2007 21:57:29 +0000 (11 21:57 +0000)]
Use a variable name as sizeof argument, not a type name.
Given code like: T *var = calloc (n, sizeof (T));
Convert to this: T *var = calloc (n, sizeof (*var));
This first-cut change adjusts all malloc, calloc, and
realloc statements.
The only binary differences are in remote_internal.c
(due to the bug fix) and in xmlrpc.c (due to factorization).
* python/libvir.c: As above.
* qemud/event.c: Likewise.
* qemud/mdns.c: Likewise.
* qemud/qemud.c: Likewise.
* qemud/remote.c: Likewise.
* src/bridge.c: Likewise.
* src/buf.c: Likewise.
* src/conf.c: Likewise.
* src/hash.c: Likewise.
* src/iptables.c: Likewise.
* src/openvz_conf.c: Likewise.
* src/qemu_conf.c: Likewise.
* src/qemu_driver.c: Likewise.
* src/test.c: Likewise.
* src/xen_internal.c: Likewise.
* src/xen_unified.c: Likewise.
* src/xm_internal.c: Likewise.
* src/xml.c: Likewise.
* tests/qemuxml2argvtest.c: Likewise.
* src/xmlrpc.c (xmlRpcValuePtr): Likewise, and minor factorization.
* src/remote_internal.c (remoteAuthMakeCredentials): Use the right
type when allocating space for an array of cred _pointers_.
Jim Meyering [Fri, 7 Dec 2007 10:08:06 +0000 (7 10:08 +0000)]
Include "config.h" in remaining non-generated files.
* proxy/libvirt_proxy.c: Likewise.
* python/libvir.c: Likewise.
* python/types.c: Likewise.
* src/event.c: Likewise.
* src/xm_internal.c: Likewise.
* tests/reconnect.c: Likewise.
* tests/testutils.c: Likewise.
Daniel Veillard [Fri, 7 Dec 2007 08:41:01 +0000 (7 08:41 +0000)]
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
add a python binding for virNodeGetCellsFreeMemory
Daniel
Daniel P. Berrange [Wed, 5 Dec 2007 19:09:23 +0000 (5 19:09 +0000)]
Add manual impl of virConnectOpenAuth python binding
Richard W.M. Jones [Wed, 5 Dec 2007 13:56:22 +0000 (5 13:56 +0000)]
Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
* python/libvir.c, python/libvirt_wrap.h, qemud/qemud.c,
qemud/remote.c, src/internal.h, src/openvz_conf.c,
src/openvz_driver.c, src/proxy_internal.h, src/qemu_conf.c,
src/qemu_driver.c, src/remote_internal.h, src/test.h, src/util.c,
src/xen_unified.c, src/xen_unified.h, tests/nodeinfotest.c,
tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c, tests/reconnect.c,
tests/sexpr2xmltest.c, tests/virshtest.c, tests/xencapstest.c,
tests/xmconfigtest.c, tests/xml2sexprtest.c:
Change #include <> to #include "" for local includes.
Removed many includes from src/internal.h and put them in
the C files which actually use them.
Removed <ansidecl.h> - unused.
Added a comment around __func__.
Removed a clashing redefinition of VERSION symbol.
All limits (PATH_MAX etc) now done in src/internal.h, so we
don't need to include those headers in other files.
Richard W.M. Jones [Fri, 30 Nov 2007 11:10:53 +0000 (30 11:10 +0000)]
Fri Nov 30 11:04:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
* python/libvir.c, python/libvir.py: Make Python aware that
the C bindings module is called cygvirtmod.dll when compiled
by CYGWIN.
* python/Makefile.am: Remove symlink libvirtmod.dll -> cygvirtmod.dll
no longer necessary because of the above.
* configure.in: Remove AM_CONDITIONAL(CYGWIN).
Richard W.M. Jones [Thu, 29 Nov 2007 17:44:01 +0000 (29 17:44 +0000)]
Thu Nov 29 17:40:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
* configure.in: Added CYGWIN_EXTRA_LDFLAGS, CYGWIN_EXTRA_LIBADD,
CYGWIN_EXTRA_PYTHON_LIBADD, CYGWIN automake conditional.
* src/Makefile.am: Extra flags required to build DLL of libvirt
for Cygwin.
* python/Makefile.am: Extra flags and rule required to build
Python module for Cygwin.
Jim Meyering [Thu, 15 Nov 2007 13:04:28 +0000 (15 13:04 +0000)]
Make "make distcheck" work.
* Makefile.am: Expand some "*" wildcards, and (for now) disable
the relatively unimportant, distuninstallcheck target.
Fix a few redirect-directly-to-target bugs.
Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
* docs/Makefile.am: More of the same. Split some long lines.
* python/Makefile.am: Likewise.
* python/tests/Makefile.am: Likewise.
* qemud/Makefile.am: Likewise.
* tests/Makefile.am: Remove the directories already listed in SUBDIRS.
* docs/examples/index.py: Adapt to produce the desired changes in
docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
and emit a comment telling emacs and vi that the file is read-only.
* docs/examples/Makefile.am: Regenerate.
Author: Jim Meyering <meyering@redhat.com>
Daniel Veillard [Sun, 30 Sep 2007 20:52:13 +0000 (30 20:52 +0000)]
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
provide bindings for block and interface statistics
Daniel
Daniel Veillard [Tue, 24 Jul 2007 15:32:55 +0000 (24 15:32 +0000)]
* libvirt.spec.in NEWS docs/* po/*: preparing release 0.3.1
* src/libvirt.c python/generator.py: some cleanup and warnings
from Richard W.M. Jones
Daniel
Richard W.M. Jones [Tue, 26 Jun 2007 13:47:04 +0000 (26 13:47 +0000)]
Tue Jun 26 14:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/remote_internal.c, python/Makefile.am: Python bindings
fixed, and now building virConnect.getHostname and
virConnect.getURI. Fixed a problem which stopped
libvirt.py from being (re-)built. Rearranged
python/Makefile.am to make it cleaner and clearer.
Richard W.M. Jones [Mon, 25 Jun 2007 15:56:18 +0000 (25 15:56 +0000)]
Mon Jun 25 16:55:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* include/libvirt/libvirt.h.in, src/libvirt.c, src/libvirt_sym.version,
python/generator.py: Added virDomainGetConnect and
virNetworkGetConnect to allow us to get the "hidden"
connection associated with each domain or network.
Richard W.M. Jones [Fri, 15 Jun 2007 08:18:55 +0000 (15 08:18 +0000)]
Fri Jun 15 08:53:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/internal.h, src/virsh.c: Replace _N with N_ so that
Solaris builds work (Mark Johnson).
* src/virsh.c: Add a couple of missing error messages (Mark
Johnson).
* python/types.c: Fix NULL pointer deref on DEBUG build
(Mark Johnson).
* src/virsh.c: Spelling fix (Mark Johnson).
Richard W.M. Jones [Tue, 29 May 2007 14:58:27 +0000 (29 14:58 +0000)]
+Tue May 29 15:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
+
+ * python/generator.py, python/libvir.c, python/libvir.py:
+ Wrap the virGetVersion call as Python libvirt.getVersion.
+
+ * src/libvirt.c: Change virGetVersion so that the driver name
+ is case insensitive.
+
Daniel P. Berrange [Mon, 16 Apr 2007 12:37:59 +0000 (16 12:37 +0000)]
Fixed exception reporting for domain/network operations
Daniel P. Berrange [Tue, 10 Apr 2007 23:15:58 +0000 (10 23:15 +0000)]
Added vir*GetAutostart APIs to python
Richard W.M. Jones [Wed, 28 Mar 2007 11:24:14 +0000 (28 11:24 +0000)]
* python/generator.py: Python bindings now throw exceptions
in almost all cases where an error is encountered in the
underlying libvirt code.
Daniel Veillard [Fri, 16 Mar 2007 10:44:44 +0000 (16 10:44 +0000)]
* python/generator.py: patch from Tatsuro Enokura to fix
virNetworkDefine binding
Daniel
Daniel Veillard [Thu, 15 Mar 2007 15:23:21 +0000 (15 15:23 +0000)]
* python/generator.py: fix the python binding generation for
virNetworkLookup...() functions, which were clashing with
equivalent virConnLookup...() equivalents, as reported by
Tatsuro Enokura
Daniel
Daniel P. Berrange [Fri, 9 Mar 2007 15:42:50 +0000 (9 15:42 +0000)]
Added python bindings for networking APIs
Daniel P. Berrange [Tue, 6 Mar 2007 21:55:44 +0000 (6 21:55 +0000)]
Fixed up numerous compiler warnings
Mark McLoughlin [Thu, 1 Mar 2007 16:18:55 +0000 (1 16:18 +0000)]
Thu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com>
* acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
GNOME but with a few more flags we'd been using.
* configure.in: use that instead of setting CFLAGS
directly.
* proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
Daniel P. Berrange [Wed, 14 Feb 2007 17:20:27 +0000 (14 17:20 +0000)]
Blacklist vshRunConsole from python
Mark McLoughlin [Tue, 23 Jan 2007 14:39:45 +0000 (23 14:39 +0000)]
Mon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
* include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and
VIR_UUID_STRING_BUFLEN
* libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c,
libvirt/src/internal.h, libvirt/src/libvirt.c,
libvirt/src/proxy_internal.c, libvirt/src/test.c,
libvirt/src/virsh.c, libvirt/src/xend_internal.c,
libvirt/src/xm_internal.c, libvirt/src/xml.c,
libvirt/python/libvir.c: use them
Daniel P. Berrange [Thu, 16 Nov 2006 00:17:10 +0000 (16 00:17 +0000)]
Added binding for virConnectListDefinedDomains api
Daniel P. Berrange [Wed, 15 Nov 2006 19:40:00 +0000 (15 19:40 +0000)]
Fix unsigned long wraparound in python binding
Daniel P. Berrange [Fri, 10 Nov 2006 19:55:27 +0000 (10 19:55 +0000)]
Fixed string concatenation in case where there is no lower level error
Daniel Veillard [Thu, 9 Nov 2006 15:32:44 +0000 (9 15:32 +0000)]
* python/generator.py: changed the generator to generate a reference
from Domain class instances to the Connect they were issued from
should fix rhbz#204490
* docs//*: rebuilt
Daniel
Daniel P. Berrange [Tue, 7 Nov 2006 23:18:56 +0000 (7 23:18 +0000)]
Propagate libvirt errors back with python exceptions
Daniel P. Berrange [Tue, 24 Oct 2006 20:28:16 +0000 (24 20:28 +0000)]
Make python bindings threaded, by dropping/acquiring Python GIL where needed
Daniel Veillard [Tue, 29 Aug 2006 14:39:57 +0000 (29 14:39 +0000)]
* python/libvir.c: Pete Vetere pointed out a bug in string cast
when handling errors in Python
Daniel
Daniel Veillard [Fri, 4 Aug 2006 13:36:07 +0000 (4 13:36 +0000)]
* python/generator.py: fix the generator when handling long integers
Dan Berrange reported problems due to this when using
virDomainSetMemory bindings
Daniel
Mark McLoughlin [Wed, 5 Jul 2006 21:52:52 +0000 (5 21:52 +0000)]
unleash the hush puppies
Daniel Veillard [Mon, 26 Jun 2006 15:02:18 +0000 (26 15:02 +0000)]
* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
include/libvirt/virterror.h python/generator.py python/libvir.c
python/libvirt_wrap.h src/driver.h src/internal.h src/test.h
src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h
src/xml.c src/xml.h: moved the includes from include/ to
include/libvirt to reflect the installed include tree. This
avoid using "" in the includes themselves.
Daniel
Daniel Veillard [Wed, 29 Mar 2006 13:33:37 +0000 (29 13:33 +0000)]
* python/libvir.c: fixed a bug in the new wrapper
* python/tests/Makefile.am python/tests/node.py: added a new test for
the new API
* python/tests/create.py: remove a debug
Daniel
Daniel Veillard [Wed, 29 Mar 2006 12:46:03 +0000 (29 12:46 +0000)]
* include/libvirt.h[.in] include/virterror.h src/driver.h
src/internal.h src/libvirt_sym.version src/xen_internal.c
src/xs_internal.c: added a new entry point to get node hardware
informations virGetNodeInfo, and associated driver hook.
* src/xend_internal.c: implemented the node and version information
hooks for the Xen Daemon
* python/libvir.c python/libvirt-python-api.xml python/generator.py:
also added Python bindings for the new call
Daniel
Daniel Veillard [Tue, 28 Mar 2006 14:41:04 +0000 (28 14:41 +0000)]
* python/libvir.c: call the initialize entry point
* src/libvirt_sym.version: add initialize entry point
* src/libvirt.c: make sure we always initialize the lib
* python/tests/*.py: start updating exemple for exception
handling as pointed by Jim Meyering
Daniel
Daniel Veillard [Tue, 28 Mar 2006 09:50:17 +0000 (28 09:50 +0000)]
* doc/site.xsl doc/libvir.html doc/*: added informations about
the Perl bindings, regenerated
* python/libvirt_wrap.h: added a missing include.
Daniel
Daniel Veillard [Thu, 23 Mar 2006 15:42:10 +0000 (23 15:42 +0000)]
* src/xs_internal.c src/xs_internal.h include/virterror.h
src/virterror.c: created a new module related to Xen Store accesses
* src/libvirt.c src/xen_internal.[ch] src/xend_internal.[ch]:
nearly completed the separation of the code from the different modules
Daniel
Daniel Veillard [Wed, 22 Mar 2006 13:44:01 +0000 (22 13:44 +0000)]
* python/tests/create.py: add one more image path
* src/libvirt.c src/xend_internal.c src/xend_internal.h: more work
on the xend refactoring
Daniel
Daniel Veillard [Wed, 22 Mar 2006 13:33:20 +0000 (22 13:33 +0000)]
* python/tests/create.py: adapt to new naming scheme in FC5
Daniel
Daniel Veillard [Tue, 28 Feb 2006 14:22:33 +0000 (28 14:22 +0000)]
* NEWS configure.in libvirt.spec.in include/libvirt.h docs/*:
preparing release 0.0.6
Daniel
Daniel Veillard [Tue, 28 Feb 2006 12:56:25 +0000 (28 12:56 +0000)]
Fixed the test, daniel
Daniel Veillard [Tue, 28 Feb 2006 12:17:00 +0000 (28 12:17 +0000)]
* TODO: updated
* python/Makefile.am python/generator.py python/libvir.c
python/libvir.py: improved python binding, raise exception
when an instance creation or lookup fails, and add support
for the global error handler, per conn handler still needed
* python/tests/error.py python/tests/Makefile.am: adding a
regression test
Daniel
Daniel Veillard [Fri, 24 Feb 2006 12:26:56 +0000 (24 12:26 +0000)]
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
UUID strings can contain zeroes, so the autogenerated conversion
functions don't work.
Daniel
Daniel Veillard [Thu, 23 Feb 2006 11:26:17 +0000 (23 11:26 +0000)]
* src/libvirt.c: fixing a bug before the release of 0.0.5
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
also fixing the binding for getting a domain UUID
* python/tests/Makefile.am python/tests/uuid.py: added a test
for the new UUID API
Daniel
Daniel Veillard [Thu, 23 Feb 2006 10:31:23 +0000 (23 10:31 +0000)]
* python/tests/Makefile.am: added the create.py in the regression tests
Daniel
Daniel Veillard [Tue, 21 Feb 2006 13:23:16 +0000 (21 13:23 +0000)]
* TODO: updated
* python/tests/Makefile.am: fix a small PYTHONPATH bug
* docs//*: fixed the xsl a bit for toc names, added doc for
the python bindings, regenerated
Daniel