<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libvirt-python.git, branch v1.2.20</title>
<subtitle>libvirt.org: git/libvirt-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/'/>
<entry>
<title>Release of libvirt-python-1.2.20</title>
<updated>2015-10-02T14:17:06+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@redhat.com</email>
</author>
<published>2015-10-02T14:17:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=1d7df3c97cfdbb22de9335976e4ac334b8e83356'/>
<id>1d7df3c97cfdbb22de9335976e4ac334b8e83356</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>generator: fix build fail with old xml lib</title>
<updated>2015-09-21T10:04:59+00:00</updated>
<author>
<name>Luyao Huang</name>
<email>lhuang@redhat.com</email>
</author>
<published>2015-09-02T05:58:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=3a97b3212d999a6a0c813e256558d1d47b193782'/>
<id>3a97b3212d999a6a0c813e256558d1d47b193782</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=1222795#c6

if build libvirt-python with some old xml lib (python-pyxml),
build will fail and error like this:

      File "generator.py", line 139, in start
        if "string" in attrs:
      File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/xmlreader.py" \
        , line 316, in __getitem__
        return self._attrs[name]
    KeyError: 0

This is an old issue and have been mentioned in commit 3ae0a76d.
There is no __contains__ in class AttributesImpl, python will use
__getitem__ in this place, so we will get error.
Let's use 'YYY in XXX.keys()' to avoid this issue.

Signed-off-by: Luyao Huang &lt;lhuang@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=1222795#c6

if build libvirt-python with some old xml lib (python-pyxml),
build will fail and error like this:

      File "generator.py", line 139, in start
        if "string" in attrs:
      File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/xmlreader.py" \
        , line 316, in __getitem__
        return self._attrs[name]
    KeyError: 0

This is an old issue and have been mentioned in commit 3ae0a76d.
There is no __contains__ in class AttributesImpl, python will use
__getitem__ in this place, so we will get error.
Let's use 'YYY in XXX.keys()' to avoid this issue.

Signed-off-by: Luyao Huang &lt;lhuang@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: small fix for nodestats.py example</title>
<updated>2015-08-26T22:02:44+00:00</updated>
<author>
<name>Luyao Huang</name>
<email>lhuang@redhat.com</email>
</author>
<published>2015-07-31T02:19:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=51b841fa5b0214eb56e952b02d82592263775631'/>
<id>51b841fa5b0214eb56e952b02d82592263775631</id>
<content type='text'>
Add nodestats.py in MANIFEST.in and add a
small description for nodestats.py in README

Signed-off-by: Luyao Huang &lt;lhuang@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add nodestats.py in MANIFEST.in and add a
small description for nodestats.py in README

Signed-off-by: Luyao Huang &lt;lhuang@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Check return value of PyList_Append</title>
<updated>2015-08-03T11:55:54+00:00</updated>
<author>
<name>Jiri Denemark</name>
<email>jdenemar@redhat.com</email>
</author>
<published>2015-08-03T08:26:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=5a6b2c98390a2344c9c3cc10a1c346a4838f0d58'/>
<id>5a6b2c98390a2344c9c3cc10a1c346a4838f0d58</id>
<content type='text'>
libvirt_virDomainGetSecurityLabelList called PyList_Append without
checking its return value. While looking at it I noticed the function
did not properly check several other return values either so I fixed
them all.

https://bugzilla.redhat.com/show_bug.cgi?id=1249511

Signed-off-by: Jiri Denemark &lt;jdenemar@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libvirt_virDomainGetSecurityLabelList called PyList_Append without
checking its return value. While looking at it I noticed the function
did not properly check several other return values either so I fixed
them all.

https://bugzilla.redhat.com/show_bug.cgi?id=1249511

Signed-off-by: Jiri Denemark &lt;jdenemar@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Post-release version bump to 1.2.19</title>
<updated>2015-08-03T11:51:30+00:00</updated>
<author>
<name>Jiri Denemark</name>
<email>jdenemar@redhat.com</email>
</author>
<published>2015-08-03T11:51:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=d2c44eb80a94611f47ca124a98f25882cb293f3a'/>
<id>d2c44eb80a94611f47ca124a98f25882cb293f3a</id>
<content type='text'>
Signed-off-by: Jiri Denemark &lt;jdenemar@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jiri Denemark &lt;jdenemar@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Forgot to bump version to 1.2.18</title>
<updated>2015-08-03T09:55:14+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@redhat.com</email>
</author>
<published>2015-08-03T09:55:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=5037e17b131d302ccd7a7beb8afeea947502856d'/>
<id>5037e17b131d302ccd7a7beb8afeea947502856d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>iothread: Fix crash if virDomainGetIOThreadInfo returns error</title>
<updated>2015-07-30T07:32:28+00:00</updated>
<author>
<name>Peter Krempa</name>
<email>pkrempa@redhat.com</email>
</author>
<published>2015-07-30T07:32:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=0a59630a341f73f716e635a8635c053861695cf1'/>
<id>0a59630a341f73f716e635a8635c053861695cf1</id>
<content type='text'>
The cleanup portion of libvirt_virDomainGetIOThreadInfo would try to
clean the returned structures but the count of iothreads was set to -1.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1248295
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The cleanup portion of libvirt_virDomainGetIOThreadInfo would try to
clean the returned structures but the count of iothreads was set to -1.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1248295
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Introduce nodestats example</title>
<updated>2015-07-17T09:42:44+00:00</updated>
<author>
<name>Michal Privoznik</name>
<email>mprivozn@redhat.com</email>
</author>
<published>2015-06-24T15:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=fa21f3d927b29991741e2d7a8ebc2a920778ecba'/>
<id>fa21f3d927b29991741e2d7a8ebc2a920778ecba</id>
<content type='text'>
So, this is an exercise to show libvirt capabilities. Firstly, for
each host NUMA nodes some statistics are printed out, i.e. total
memory and free memory. Then, for each running domain, that has memory
strictly bound to certain host nodes, a small statistics of how much
memory it takes is printed out too. For instance:

        # ./examples/nodestats.py
        NUMA stats
        NUMA nodes:     0       1       2       3
        MemTotal:       3950    3967    3937    3943
        MemFree:        66      56      42      41
        Domain 'fedora':
                Overall memory: 1536 MiB
        Domain 'fedora22':
                Overall memory: 2048 MiB
        Domain 'fedora21':
                Overall memory: 1024 MiB nodes 0-1
                Node 0: 1024 MiB nodes 0-1
        Domain 'gentoo':
                Overall memory: 4096 MiB nodes 0-3
                Node 0: 1024 MiB nodes 0
                Node 1: 1024 MiB nodes 1
                Node 2: 1024 MiB nodes 2
                Node 3: 1024 MiB nodes 3

We can see 4 host NUMA nodes, all of them having roughly 4GB of RAM.
Yeah, all of them has nearly all the memory consumed. Then, there are
four domains running. For instance, domain 'fedora' has 1.5GB memory
which is not pinned onto any specific host NUMA node. Domain 'gentoo' on
the other hand has 4GB memory and has 4 NUMA nodes which are pinned 1:1
to host nodes.

Signed-off-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So, this is an exercise to show libvirt capabilities. Firstly, for
each host NUMA nodes some statistics are printed out, i.e. total
memory and free memory. Then, for each running domain, that has memory
strictly bound to certain host nodes, a small statistics of how much
memory it takes is printed out too. For instance:

        # ./examples/nodestats.py
        NUMA stats
        NUMA nodes:     0       1       2       3
        MemTotal:       3950    3967    3937    3943
        MemFree:        66      56      42      41
        Domain 'fedora':
                Overall memory: 1536 MiB
        Domain 'fedora22':
                Overall memory: 2048 MiB
        Domain 'fedora21':
                Overall memory: 1024 MiB nodes 0-1
                Node 0: 1024 MiB nodes 0-1
        Domain 'gentoo':
                Overall memory: 4096 MiB nodes 0-3
                Node 0: 1024 MiB nodes 0
                Node 1: 1024 MiB nodes 1
                Node 2: 1024 MiB nodes 2
                Node 3: 1024 MiB nodes 3

We can see 4 host NUMA nodes, all of them having roughly 4GB of RAM.
Yeah, all of them has nearly all the memory consumed. Then, there are
four domains running. For instance, domain 'fedora' has 1.5GB memory
which is not pinned onto any specific host NUMA node. Domain 'gentoo' on
the other hand has 4GB memory and has 4 NUMA nodes which are pinned 1:1
to host nodes.

Signed-off-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>virPyDictToTypedParams: packing lists of values</title>
<updated>2015-06-29T09:41:41+00:00</updated>
<author>
<name>Pavel Boldin</name>
<email>pboldin@mirantis.com</email>
</author>
<published>2015-06-16T01:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=9896626b8277e2ffba1523d2111c96b08fb799e8'/>
<id>9896626b8277e2ffba1523d2111c96b08fb799e8</id>
<content type='text'>
Pack a list or a tuple of values passed to a Python method to the
multi-value parameter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pack a list or a tuple of values passed to a Python method to the
multi-value parameter.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Change livbirt version to 1.3.0 for the next release"</title>
<updated>2015-06-28T03:36:21+00:00</updated>
<author>
<name>Martin Kletzander</name>
<email>mkletzan@redhat.com</email>
</author>
<published>2015-06-26T15:42:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=7acf1422c5298e2be73410929f6965dec2b544ca'/>
<id>7acf1422c5298e2be73410929f6965dec2b544ca</id>
<content type='text'>
This reverts commit 751e016f09a6a0dd372667bdd2b322731718e359.

Since Admin API was deferred for a release and the minor version bump
didn't happen, it must not happen in libvirt-python either, for
compatibility reasons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 751e016f09a6a0dd372667bdd2b322731718e359.

Since Admin API was deferred for a release and the minor version bump
didn't happen, it must not happen in libvirt-python either, for
compatibility reasons.
</pre>
</div>
</content>
</entry>
</feed>
