<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libvirt-python.git, branch v3.3.0</title>
<subtitle>libvirt.org: git/libvirt-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/'/>
<entry>
<title>Release of libvirt-python-3.3.0</title>
<updated>2017-05-05T19:48:36+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@redhat.com</email>
</author>
<published>2017-05-05T19:48:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=16e0892841c87e95cfa8d109482fba34e2fdea39'/>
<id>16e0892841c87e95cfa8d109482fba34e2fdea39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test: add ability to run the asyncio event loop</title>
<updated>2017-04-04T14:28:50+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2017-04-04T13:55:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=58c4c12ce62e94beafd2b50805d811701852326f'/>
<id>58c4c12ce62e94beafd2b50805d811701852326f</id>
<content type='text'>
The event test program '--loop' arg is modified to take the name
of an event loop impl to run. eg 'event-test.py --loop asyncio'

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The event test program '--loop' arg is modified to take the name
of an event loop impl to run. eg 'event-test.py --loop asyncio'

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test: rename example event loop impl</title>
<updated>2017-04-04T14:28:50+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2017-04-04T13:54:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=1c6503b800ac2de04372ab2ced55269e40e3149e'/>
<id>1c6503b800ac2de04372ab2ced55269e40e3149e</id>
<content type='text'>
Use the name 'Poll' instead of 'Pure' for the event loop demo,
since there's now a second pure python loop impl available.

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the name 'Poll' instead of 'Pure' for the event loop demo,
since there's now a second pure python loop impl available.

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test: unregister callbacks &amp; close conn on exit</title>
<updated>2017-04-04T14:28:50+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2017-04-04T13:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=4cb0508048272bc2fcc79102295e2491f4072fd0'/>
<id>4cb0508048272bc2fcc79102295e2491f4072fd0</id>
<content type='text'>
In order to test cleanup code paths we must unregister all callbacks
and close the connection on shutdown. Since cleanup happens in the
background, we do a short sleep to allow the main loop to run its
cleanup too.

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to test cleanup code paths we must unregister all callbacks
and close the connection on shutdown. Since cleanup happens in the
background, we do a short sleep to allow the main loop to run its
cleanup too.

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test: add timeout to exit event loop</title>
<updated>2017-04-04T14:28:50+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2017-04-04T13:45:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=6c8d625676e3305e689be3c210f3fa8d38dc266e'/>
<id>6c8d625676e3305e689be3c210f3fa8d38dc266e</id>
<content type='text'>
Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test: free opaque data when removing callbacks</title>
<updated>2017-04-04T14:28:50+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2017-04-04T13:41:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=1770fa45b455d1eee3289d9b941a9939b27b5b7e'/>
<id>1770fa45b455d1eee3289d9b941a9939b27b5b7e</id>
<content type='text'>
The pure python event loop impl has to call

  libvirt.virEventInvokeFreeCallback

to free the event opaque data from a clean stack context

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pure python event loop impl has to call

  libvirt.virEventInvokeFreeCallback

to free the event opaque data from a clean stack context

Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add asyncio event loop implementation</title>
<updated>2017-04-04T14:28:50+00:00</updated>
<author>
<name>Wojtek Porczyk</name>
<email>woju@invisiblethingslab.com</email>
</author>
<published>2017-03-17T13:35:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=e9850106744e70b890e5fdfec9b1b5fd2c7a6ac5'/>
<id>e9850106744e70b890e5fdfec9b1b5fd2c7a6ac5</id>
<content type='text'>
This is usable only on python &gt;= 3.4 (or 3.3 with out-of-tree asyncio),
however it should be harmless for anyone with older python versions.

In simplest case, to have the callbacks queued on the default loop:

    &gt;&gt;&gt; import libvirtaio
    &gt;&gt;&gt; libvirtaio.virEventRegisterAsyncIOImpl()

The function is not present on non-compatible platforms.

Signed-off-by: Wojtek Porczyk &lt;woju@invisiblethingslab.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is usable only on python &gt;= 3.4 (or 3.3 with out-of-tree asyncio),
however it should be harmless for anyone with older python versions.

In simplest case, to have the callbacks queued on the default loop:

    &gt;&gt;&gt; import libvirtaio
    &gt;&gt;&gt; libvirtaio.virEventRegisterAsyncIOImpl()

The function is not present on non-compatible platforms.

Signed-off-by: Wojtek Porczyk &lt;woju@invisiblethingslab.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow for ff callbacks to be called by custom event implementations</title>
<updated>2017-04-04T14:00:27+00:00</updated>
<author>
<name>Wojtek Porczyk</name>
<email>woju@invisiblethingslab.com</email>
</author>
<published>2017-03-17T01:16:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=72e237f7b9a8c8b353753a7e9c0a6fdbb3d553c5'/>
<id>72e237f7b9a8c8b353753a7e9c0a6fdbb3d553c5</id>
<content type='text'>
The documentation says:
&gt; If the opaque user data requires free'ing when the handle is
&gt; unregistered, then a 2nd callback can be supplied for this purpose.
&gt; This callback needs to be invoked from a clean stack. If 'ff'
&gt; callbacks are invoked directly from the virEventRemoveHandleFunc they
&gt; will likely deadlock in libvirt.

And they did deadlock. In removeTimeout too. Now we supply a custom
function to pick it from the opaque blob and fire.

Signed-off-by: Wojtek Porczyk &lt;woju@invisiblethingslab.com&gt;
Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The documentation says:
&gt; If the opaque user data requires free'ing when the handle is
&gt; unregistered, then a 2nd callback can be supplied for this purpose.
&gt; This callback needs to be invoked from a clean stack. If 'ff'
&gt; callbacks are invoked directly from the virEventRemoveHandleFunc they
&gt; will likely deadlock in libvirt.

And they did deadlock. In removeTimeout too. Now we supply a custom
function to pick it from the opaque blob and fire.

Signed-off-by: Wojtek Porczyk &lt;woju@invisiblethingslab.com&gt;
Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Release of libvirt-python-3.2.0</title>
<updated>2017-04-02T15:08:59+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@redhat.com</email>
</author>
<published>2017-04-02T15:08:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=069269e896e16ae8e1f3ebb4dd15655b8d2d944b'/>
<id>069269e896e16ae8e1f3ebb4dd15655b8d2d944b</id>
<content type='text'>
* setup.py: bumped version
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* setup.py: bumped version
</pre>
</div>
</content>
</entry>
<entry>
<title>event: Add handler for block threshold event</title>
<updated>2017-03-29T14:59:39+00:00</updated>
<author>
<name>Peter Krempa</name>
<email>pkrempa@redhat.com</email>
</author>
<published>2017-03-29T14:59:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=a927799334a59b04c82dc21983fbb885fd7820d1'/>
<id>a927799334a59b04c82dc21983fbb885fd7820d1</id>
<content type='text'>
Unfortunately python doesn't generate those.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately python doesn't generate those.
</pre>
</div>
</content>
</entry>
</feed>
