<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libvirt-python-split.git, branch v0.7.5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/'/>
<entry>
<title>python: Add python bindings for virDomainMemoryStats</title>
<updated>2009-12-20T12:48:37+00:00</updated>
<author>
<name>Adam Litke</name>
<email>agl@us.ibm.com</email>
</author>
<published>2009-12-20T12:48:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=d8d01cc94ce4a2955ef272319429dfd5a3e9df01'/>
<id>d8d01cc94ce4a2955ef272319429dfd5a3e9df01</id>
<content type='text'>
Enable virDomainMemoryStats in the python API.  dom.memoryStats() will return a
dictionary containing the supported statistics.  A dictionary is required
because the meaining of each quantity cannot be inferred from its index in a
list.

* python/generator.py: reenable bindings for this entry point
* python/libvirt-override-api.xml python/libvirt-override.c: the
  generator can't handle this new function, add the new binding,
  and the XML description
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable virDomainMemoryStats in the python API.  dom.memoryStats() will return a
dictionary containing the supported statistics.  A dictionary is required
because the meaining of each quantity cannot be inferred from its index in a
list.

* python/generator.py: reenable bindings for this entry point
* python/libvirt-override-api.xml python/libvirt-override.c: the
  generator can't handle this new function, add the new binding,
  and the XML description
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new API virDomainMemoryStats to header and drivers</title>
<updated>2009-12-20T12:28:42+00:00</updated>
<author>
<name>Adam Litke</name>
<email>agl@us.ibm.com</email>
</author>
<published>2009-12-20T12:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=07a2265dcf190856752bf659ef7e93fd9060e8c4'/>
<id>07a2265dcf190856752bf659ef7e93fd9060e8c4</id>
<content type='text'>
Set up the types for the domainMemoryStats function and insert it into the
virDriver structure definition.  Because of static initializers, update
every driver and set the new field to NULL.

* include/libvirt/libvirt.h.in: new API
* src/driver.h src/*/*_driver.c src/vbox/vbox_tmpl.c: add the new
  entry to the driver structure
* python/generator.py: fix compiler errors, the actual python binding is
  implemented later
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set up the types for the domainMemoryStats function and insert it into the
virDriver structure definition.  Because of static initializers, update
every driver and set the new field to NULL.

* include/libvirt/libvirt.h.in: new API
* src/driver.h src/*/*_driver.c src/vbox/vbox_tmpl.c: add the new
  entry to the driver structure
* python/generator.py: fix compiler errors, the actual python binding is
  implemented later
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix install location for Python bindings</title>
<updated>2009-12-14T21:14:06+00:00</updated>
<author>
<name>Matthias Bolte</name>
<email>matthias.bolte@googlemail.com</email>
</author>
<published>2009-12-11T23:11:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=bdbb7aa1239a35c8b9c96d2aa59251cd8be0bdc1'/>
<id>bdbb7aa1239a35c8b9c96d2aa59251cd8be0bdc1</id>
<content type='text'>
Commit 66137344feb488ea87b0d92f3c03844d9a7a7786 changed the Python detection
mechanism in configure to use AM_PATH_PYTHON. This results in a changed
install location for the Python bindings, at least on Fedora 12 64bit systems.

Before this commit libvirt.py and libvirtmod.so were installed to

  /usr/lib64/python2.6/site-packages

After this commit they are installed to

  /usr/lib/python2.6/site-packages

Mixed Python packages (containing *.py and *.so files) should be installed to
the pyexecdir directory detected by AM_PATH_PYTHON.

This restores the install location from before the AM_PATH_PYTHON commit.

* configure.in: remove unnecessary pythondir export
* python/Makefile.am: switch from pythondir to pyexecdir
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 66137344feb488ea87b0d92f3c03844d9a7a7786 changed the Python detection
mechanism in configure to use AM_PATH_PYTHON. This results in a changed
install location for the Python bindings, at least on Fedora 12 64bit systems.

Before this commit libvirt.py and libvirtmod.so were installed to

  /usr/lib64/python2.6/site-packages

After this commit they are installed to

  /usr/lib/python2.6/site-packages

Mixed Python packages (containing *.py and *.so files) should be installed to
the pyexecdir directory detected by AM_PATH_PYTHON.

This restores the install location from before the AM_PATH_PYTHON commit.

* configure.in: remove unnecessary pythondir export
* python/Makefile.am: switch from pythondir to pyexecdir
</pre>
</div>
</content>
</entry>
<entry>
<title>Use AM_PATH_PYTHON and python-config to detect Python configuration</title>
<updated>2009-12-08T22:40:20+00:00</updated>
<author>
<name>Matthias Bolte</name>
<email>matthias.bolte@googlemail.com</email>
</author>
<published>2009-12-06T15:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=6d1c8a436dc5b543ba2ad56b453a34ce43d9ba14'/>
<id>6d1c8a436dc5b543ba2ad56b453a34ce43d9ba14</id>
<content type='text'>
Using AM_PATH_PYTHON solves the site-packages directory problem. At least
in Ubuntu with Python 2.6 and later site-packages is renamed to dist-packages
and site-packages is not part of sys.path anymore. So installing the libvirt
Python bindings to site-packages renders them unusable, because they can be
imported from there without manually including site-packages into sys.path.

AM_PATH_PYTHON detects the correct site-packages/dist-packages directory.

python-config --includes gives the correct include path for the Python header
files. The old probing code stays there as fallback mechanism.

* configure.in: use AM_PATH_PYTHON and python-config
* python/Makefile.am: remove -I because PYTHON_INCLUDES contains it now
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using AM_PATH_PYTHON solves the site-packages directory problem. At least
in Ubuntu with Python 2.6 and later site-packages is renamed to dist-packages
and site-packages is not part of sys.path anymore. So installing the libvirt
Python bindings to site-packages renders them unusable, because they can be
imported from there without manually including site-packages into sys.path.

AM_PATH_PYTHON detects the correct site-packages/dist-packages directory.

python-config --includes gives the correct include path for the Python header
files. The old probing code stays there as fallback mechanism.

* configure.in: use AM_PATH_PYTHON and python-config
* python/Makefile.am: remove -I because PYTHON_INCLUDES contains it now
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix threading problems in python bindings</title>
<updated>2009-11-26T12:07:41+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2009-11-25T12:04:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=26e28d5928b0aeab14ff27ff3761ff6c8c284c0f'/>
<id>26e28d5928b0aeab14ff27ff3761ff6c8c284c0f</id>
<content type='text'>
* libvirt-override.c: Add many missing calls to allow threading
  when entering C code, otherwise python blocks &amp; then deadlocks
  when we have an async event to dispatch back into python code.
  Fix return value check for virDomainPinVcpu binding.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* libvirt-override.c: Add many missing calls to allow threading
  when entering C code, otherwise python blocks &amp; then deadlocks
  when we have an async event to dispatch back into python code.
  Fix return value check for virDomainPinVcpu binding.
</pre>
</div>
</content>
</entry>
<entry>
<title>python: Actually implement list*Interfaces bindings</title>
<updated>2009-11-20T15:22:42+00:00</updated>
<author>
<name>Cole Robinson</name>
<email>crobinso@redhat.com</email>
</author>
<published>2009-11-20T15:22:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=8153376d7776d820cb1e1948530b945dfb93593f'/>
<id>8153376d7776d820cb1e1948530b945dfb93593f</id>
<content type='text'>
* python/generator.py python/libvirt-override-api.xml
  python/libvirt-override.c: implement the bindings for
  virConnectListInterfaces() and virConnectListDefinedInterfaces()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* python/generator.py python/libvirt-override-api.xml
  python/libvirt-override.c: implement the bindings for
  virConnectListInterfaces() and virConnectListDefinedInterfaces()
</pre>
</div>
</content>
</entry>
<entry>
<title>Add virConnectGetLibvirtVersion API</title>
<updated>2009-11-12T15:53:26+00:00</updated>
<author>
<name>Cole Robinson</name>
<email>crobinso@redhat.com</email>
</author>
<published>2009-11-12T15:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=d0e7cc1264533d6a6e4ad2a5b9252f97dc96cba3'/>
<id>d0e7cc1264533d6a6e4ad2a5b9252f97dc96cba3</id>
<content type='text'>
There is currently no way to determine the libvirt version of a remote
libvirtd we are connected to. This is a useful piece of data to enable
feature detection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is currently no way to determine the libvirt version of a remote
libvirtd we are connected to. This is a useful piece of data to enable
feature detection.
</pre>
</div>
</content>
</entry>
<entry>
<title>give up python interpreter lock before calling cb</title>
<updated>2009-11-03T17:42:16+00:00</updated>
<author>
<name>Dan Kenigsberg</name>
<email>danken@redhat.com</email>
</author>
<published>2009-11-03T17:42:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=bdb9c70e015181fba5f974cf233ceccbe29f1307'/>
<id>bdb9c70e015181fba5f974cf233ceccbe29f1307</id>
<content type='text'>
suggested by danpb on irc, patch by danken fixed for proper C syntax

* python/libvirt-override.c: on event callback release the python
  interpreter lock and take it again when coming back so that the
  callback can reinvoke libvirt.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
suggested by danpb on irc, patch by danken fixed for proper C syntax

* python/libvirt-override.c: on event callback release the python
  interpreter lock and take it again when coming back so that the
  callback can reinvoke libvirt.
</pre>
</div>
</content>
</entry>
<entry>
<title>python: Add a newline after custom classes</title>
<updated>2009-10-05T17:31:38+00:00</updated>
<author>
<name>Cole Robinson</name>
<email>crobinso@redhat.com</email>
</author>
<published>2009-10-02T17:05:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=bf95ba10437730b9f86f67e892d0d5d0ff804436'/>
<id>bf95ba10437730b9f86f67e892d0d5d0ff804436</id>
<content type='text'>
In the generated bindings, custom classes are squashed against the following
class, which hurts readability.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the generated bindings, custom classes are squashed against the following
class, which hurts readability.
</pre>
</div>
</content>
</entry>
<entry>
<title>python: Fix generated virInterface method names</title>
<updated>2009-10-05T17:31:38+00:00</updated>
<author>
<name>Cole Robinson</name>
<email>crobinso@redhat.com</email>
</author>
<published>2009-09-23T16:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=3b8720b5d8c73a7f753543eeee89bafa890efe4a'/>
<id>3b8720b5d8c73a7f753543eeee89bafa890efe4a</id>
<content type='text'>
A mistake in the generator was causing virInterface methods to be generated
with unpredicatable names ('ceUndefine', instead of just 'undefine'). This
fixes the method names to match existing convention.

Does anyone care if we are breaking API compat? My guess is that no one is
using the python interface bindings yet.

Signed-off-by: Cole Robinson &lt;crobinso@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A mistake in the generator was causing virInterface methods to be generated
with unpredicatable names ('ceUndefine', instead of just 'undefine'). This
fixes the method names to match existing convention.

Does anyone care if we are breaking API compat? My guess is that no one is
using the python interface bindings yet.

Signed-off-by: Cole Robinson &lt;crobinso@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
