libvirt-python/ericb.git
12 years agolibvirt-0.6.3-25.el5RHEL-5.5libvirt-0.6.3-25.el5libvirt-0.6.3-26.el5libvirt-0.6.3-27.el5libvirt-0.6.3-28.el5libvirt-0.6.3-29.el5libvirt-0.6.3-30.el5libvirt-0.6.3-31.el5libvirt-0.6.3-32.el5libvirt-0.6.3-33.el5libvirt-0.6.3-33.el5.5.1libvirt-0.6.3-33.el5_5.2libvirt-0.6.3-33.el5_5.3
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

13 years agolibvirt-0.6.3-1.el5RHEL-5.4libvirt-0.6.3-1.el5libvirt-0.6.3-10.el5libvirt-0.6.3-11.el5libvirt-0.6.3-12.el5libvirt-0.6.3-13.el5libvirt-0.6.3-14.el5libvirt-0.6.3-15.el5libvirt-0.6.3-16.el5libvirt-0.6.3-17.el5libvirt-0.6.3-18.el5libvirt-0.6.3-19.el5libvirt-0.6.3-2.el5libvirt-0.6.3-20.el5libvirt-0.6.3-20.el5.4.1libvirt-0.6.3-21.el5libvirt-0.6.3-22.el5libvirt-0.6.3-23.el5libvirt-0.6.3-24.el5libvirt-0.6.3-3.el5libvirt-0.6.3-4.el5libvirt-0.6.3-5.el5libvirt-0.6.3-6.el5libvirt-0.6.3-7.el5libvirt-0.6.3-8.el5libvirt-0.6.3-9.el5
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

13 years agoRHEL-5 libvirt Init
Jiri Denemark [Sat, 1 Jan 2000 00:00:00 +0000 (1 00:00 +0000)]
RHEL-5 libvirt Init

13 years agoFix crash after calling virConnectCloseLIBVIRT_0_6_2LIBVIRT_0_6_3libvirt-0.6.2-19.fc11v0.6.2v0.6.3
Daniel P. Berrange [Wed, 1 Apr 2009 10:39:12 +0000 (1 10:39 +0000)]
Fix crash after calling virConnectClose

13 years agoFix generation of networkCreateXML and storagePoolCreateXML
Daniel P. Berrange [Wed, 1 Apr 2009 10:37:57 +0000 (1 10:37 +0000)]
Fix generation of networkCreateXML and storagePoolCreateXML

13 years agoupdate .gitignore and .hgignore filesLIBVIRT_0_6_1v0.6.1
Jim Meyering [Tue, 3 Mar 2009 11:25:00 +0000 (3 11:25 +0000)]
update .gitignore and .hgignore files

13 years agoInternal driver API for sVirt support (James Morris & Dan Walsh)
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)

13 years agoIgnore some generated autotools files in example app
Daniel P. Berrange [Mon, 2 Mar 2009 20:24:46 +0000 (2 20:24 +0000)]
Ignore some generated autotools files in example app

13 years ago* python/Makefile.am: avoid a parallel make issue #472702
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

13 years agoFix building python bindings: Skip bindings for virSaveLastError and
Cole Robinson [Mon, 16 Feb 2009 22:44:49 +0000 (16 22:44 +0000)]
Fix building python bindings: Skip bindings for virSaveLastError and
virFreeError

13 years agoUse global thread-local error for all python error reportingLIBVIRT_0_6_0v0.6.0
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

13 years agoReplace __FUNCTION__ with __func__ for better portability (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 12:25:11 +0000 (18 12:25 +0000)]
Replace __FUNCTION__ with __func__ for better portability (John Levon)

13 years agoFix gcc-ism in python build (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)

13 years agosyntax-check: enforce the no-cvs-keywords prohibition
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.

13 years agoSupport domain lifecycle events for Xen (Ben Guthro & Daniel Berrange)LIBVIRT_0_5_0LIBVIRT_0_5_1v0.5.0v0.5.1
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)

13 years agoFix python bindings events code (David Lively)
Daniel P. Berrange [Mon, 24 Nov 2008 19:28:12 +0000 (24 19:28 +0000)]
Fix python bindings events code (David Lively)

13 years agoPython binding for node device APIs (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)

13 years agoAdd a virFreeCallback to event loop APIs
Daniel P. Berrange [Wed, 19 Nov 2008 16:24:01 +0000 (19 16:24 +0000)]
Add a virFreeCallback to event loop APIs

13 years agoChange public API for virEventAddHandle to allow multiple registrations per FD
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

13 years agoAdd a virFreeCallback to virDomainEventRegister (from David Lively)
Daniel P. Berrange [Wed, 19 Nov 2008 15:25:24 +0000 (19 15:25 +0000)]
Add a virFreeCallback to virDomainEventRegister (from David Lively)

13 years agoAdd domain events detail information
Daniel P. Berrange [Mon, 17 Nov 2008 16:43:00 +0000 (17 16:43 +0000)]
Add domain events detail information

13 years agoFix domain events python thread safety & incorrect enum generation
Daniel P. Berrange [Mon, 17 Nov 2008 10:26:09 +0000 (17 10:26 +0000)]
Fix domain events python thread safety & incorrect enum generation

13 years ago* python/virConnect.py: needed for events from the python bindings
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

13 years ago* python/Makefile.am python/generator.py python/libvir.c
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

13 years agoMassive patch adding event APIs by Ben Guthro
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

13 years agogenerate .gitignore files from .cvsignore ones
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.

13 years agoXen interface order and fix python parallel build
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

13 years agoUse libvirt error message for python exceptionsLIBVIRT_0_4_6v0.4.6
Daniel P. Berrange [Fri, 22 Aug 2008 10:50:18 +0000 (22 10:50 +0000)]
Use libvirt error message for python exceptions

13 years agoFix connection lookup in python storage instances
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

13 years agoSkip python bindings for virDomainBlockPeek and virDomainMemoryPeek
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

14 years agoIgnore JIT'd python files
Daniel P. Berrange [Wed, 9 Jul 2008 08:17:51 +0000 (9 08:17 +0000)]
Ignore JIT'd python files

14 years ago* python/types.c: patch from Ryan Scott to remove misplaced verbosity
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

14 years ago* python/libvir.py python/libvirt-python-api.xml: more pythonLIBVIRT_0_4_4v0.4.4
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

14 years ago* python/generator.py python/libvir.c python/libvirt-python-api.xml:
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

14 years agoFix python code generation for storage APIs
Daniel P. Berrange [Thu, 29 May 2008 14:53:58 +0000 (29 14:53 +0000)]
Fix python code generation for storage APIs

14 years agoDon't free C object after destroy method in python
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

14 years agoPython header workaround
Daniel P. Berrange [Fri, 18 Apr 2008 18:31:32 +0000 (18 18:31 +0000)]
Python header workaround

14 years agoWork around Python.h name-space pollution.
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.

14 years agoconvert TAB-based indentation in C sources to use only spaces
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

14 years agoremove Vim and Emacs variable settings from C source files
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,'

14 years agoFix potential infinite loop in python generatorLIBVIRT_0_4_2v0.4.2
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

14 years agoFix typo "informations" -> "information" (Atsushi SAKAI and
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).

14 years agoMany typos fixed (Atsushi SAKAI).LIBVIRT_0_4_1v0.4.1
Richard W.M. Jones [Fri, 29 Feb 2008 12:53:10 +0000 (29 12:53 +0000)]
Many typos fixed (Atsushi SAKAI).

14 years agoAdded python binding for storage APIs
Daniel P. Berrange [Wed, 20 Feb 2008 15:26:22 +0000 (20 15:26 +0000)]
Added python binding for storage APIs

14 years agoPython bindings return values fixes
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

14 years agoRemove all trailing blanks; turn on the rule to detect them.
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.

14 years agoEnable the <config.h>-requiring test; fix violations
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.

14 years agoGiven code like if (foo) free (foo); remove the useless "if (foo) " part.
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.

14 years agoMake python generator fail build on any missing APIs
Daniel P. Berrange [Mon, 21 Jan 2008 15:55:53 +0000 (21 15:55 +0000)]
Make python generator fail build on any missing APIs

14 years agoAdd missing vcpu/schedular APIs to python binding
Daniel P. Berrange [Mon, 21 Jan 2008 15:41:15 +0000 (21 15:41 +0000)]
Add missing vcpu/schedular APIs to python binding

14 years agoHandle PyTuple_New's malloc failure.
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.

14 years agoFactor out some duplication.
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.

14 years agoUse a variable name as sizeof argument, not a type name.
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_.

14 years agoInclude "config.h" in remaining non-generated files.
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.

14 years ago* python/generator.py python/libvir.c python/libvirt-python-api.xml:
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

14 years agoAdd manual impl of virConnectOpenAuth python binding
Daniel P. Berrange [Wed, 5 Dec 2007 19:09:23 +0000 (5 19:09 +0000)]
Add manual impl of virConnectOpenAuth python binding

14 years agoWed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
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.

14 years agoFri Nov 30 11:04:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
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).

14 years agoThu Nov 29 17:40:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
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.

14 years agoMake "make distcheck" work.
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>

14 years ago* python/generator.py python/libvir.c python/libvirt-python-api.xml:LIBVIRT_0_3_3v0.3.3
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

15 years ago* libvirt.spec.in NEWS docs/* po/*: preparing release 0.3.1LIBVIRT_0_3_1LIBVIRT_0_3_2v0.3.1v0.3.2
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

15 years agoTue Jun 26 14:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>LIBVIRT_0_3_0v0.3.0
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.

15 years agoMon Jun 25 16:55:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
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.

15 years agoFri Jun 15 08:53:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
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).

15 years ago+Tue May 29 15:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>LIVIRT_0_2_3v0.2.3
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.
+

15 years agoFixed exception reporting for domain/network operationsLIBVIRT_0_2_2v0.2.2
Daniel P. Berrange [Mon, 16 Apr 2007 12:37:59 +0000 (16 12:37 +0000)]
Fixed exception reporting for domain/network operations

15 years agoAdded vir*GetAutostart APIs to python
Daniel P. Berrange [Tue, 10 Apr 2007 23:15:58 +0000 (10 23:15 +0000)]
Added vir*GetAutostart APIs to python

15 years ago * python/generator.py: Python bindings now throw exceptions
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.

15 years ago* python/generator.py: patch from Tatsuro Enokura to fixLIBVIRT_0_2_1v0.2.1
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

15 years ago* python/generator.py: fix the python binding generation for
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

15 years agoAdded python bindings for networking APIs
Daniel P. Berrange [Fri, 9 Mar 2007 15:42:50 +0000 (9 15:42 +0000)]
Added python bindings for networking APIs

15 years agoFixed up numerous compiler warnings
Daniel P. Berrange [Tue, 6 Mar 2007 21:55:44 +0000 (6 21:55 +0000)]
Fixed up numerous compiler warnings

15 years agoThu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com>
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)

15 years agoBlacklist vshRunConsole from pythonLIBVIRT_0_2_0v0.2.0
Daniel P. Berrange [Wed, 14 Feb 2007 17:20:27 +0000 (14 17:20 +0000)]
Blacklist vshRunConsole from python

15 years agoMon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
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

15 years agoAdded binding for virConnectListDefinedDomains apiLIBVIRT_0_1_10LIBVIRT_0_1_11LIBVIRT_0_1_9v0.1.10v0.1.11v0.1.9
Daniel P. Berrange [Thu, 16 Nov 2006 00:17:10 +0000 (16 00:17 +0000)]
Added binding for virConnectListDefinedDomains api

15 years agoFix unsigned long wraparound in python binding
Daniel P. Berrange [Wed, 15 Nov 2006 19:40:00 +0000 (15 19:40 +0000)]
Fix unsigned long wraparound in python binding

15 years agoFixed string concatenation in case where there is no lower level error
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

15 years ago* python/generator.py: changed the generator to generate a reference
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

15 years agoPropagate libvirt errors back with python exceptions
Daniel P. Berrange [Tue, 7 Nov 2006 23:18:56 +0000 (7 23:18 +0000)]
Propagate libvirt errors back with python exceptions

15 years agoMake python bindings threaded, by dropping/acquiring Python GIL where needed
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

15 years ago* python/libvir.c: Pete Vetere pointed out a bug in string castLIBVIRT_0_1_6LIBVIRT_0_1_7LIBVIRT_0_1_8v0.1.6v0.1.7v0.1.8
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

15 years ago* python/generator.py: fix the generator when handling long integersLIBVIRT_0_1_4v0.1.4
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

16 years agounleash the hush puppiesLIBVIRT_0_1_3v0.1.3
Mark McLoughlin [Wed, 5 Jul 2006 21:52:52 +0000 (5 21:52 +0000)]
unleash the hush puppies

16 years ago* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
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

16 years ago* python/libvir.c: fixed a bug in the new wrapperLIBVIRT_0_1_0LIBVIRT_0_1_1v0.1.0v0.1.1
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

16 years ago* include/libvirt.h[.in] include/virterror.h src/driver.h
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

16 years ago* python/libvir.c: call the initialize entry point
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

16 years ago* doc/site.xsl doc/libvir.html doc/*: added informations about
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

16 years ago* src/xs_internal.c src/xs_internal.h include/virterror.h
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

16 years ago* python/tests/create.py: add one more image path
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

16 years ago* python/tests/create.py: adapt to new naming scheme in FC5
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

16 years ago* NEWS configure.in libvirt.spec.in include/libvirt.h docs/*:
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

16 years agoFixed the test, daniel
Daniel Veillard [Tue, 28 Feb 2006 12:56:25 +0000 (28 12:56 +0000)]
Fixed the test, daniel

16 years ago* TODO: updated
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

16 years ago* python/generator.py python/libvir.c python/libvirt-python-api.xml:
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

16 years ago* src/libvirt.c: fixing a bug before the release of 0.0.5LIBVIRT_0_0_5v0.0.5
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

16 years ago* python/tests/Makefile.am: added the create.py in the regression tests
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

16 years ago* TODO: updated
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