<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libvirt-python.git/examples, branch v2.3.0</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>event-test: support node device update callback</title>
<updated>2016-08-17T11:38:30+00:00</updated>
<author>
<name>Jovanka Gulicoska</name>
<email>jovanka.gulicoska@gmail.com</email>
</author>
<published>2016-08-17T08:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=0b050dd015a9bf09000c17bd0eb0c868b75bec6e'/>
<id>0b050dd015a9bf09000c17bd0eb0c868b75bec6e</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 node device lifecycle event tests</title>
<updated>2016-08-02T13:55:56+00:00</updated>
<author>
<name>Jovanka Gulicoska</name>
<email>jovanka.gulicoska@gmail.com</email>
</author>
<published>2016-07-28T12:14:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=8b2d5c06432673c2f4c72c2abfbae06886aa1134'/>
<id>8b2d5c06432673c2f4c72c2abfbae06886aa1134</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash in storage pool refresh callback</title>
<updated>2016-07-23T18:30:05+00:00</updated>
<author>
<name>Pavel Hrdina</name>
<email>phrdina@redhat.com</email>
</author>
<published>2016-07-23T16:20:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=a3a4425338017ecefd31b969f62a1b5803f92a5c'/>
<id>a3a4425338017ecefd31b969f62a1b5803f92a5c</id>
<content type='text'>
Fixes copy-paste typo introduced by commit cb84e36c.

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

Signed-off-by: Pavel Hrdina &lt;phrdina@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes copy-paste typo introduced by commit cb84e36c.

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

Signed-off-by: Pavel Hrdina &lt;phrdina@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for storage pool refesh callback</title>
<updated>2016-06-24T20:49:09+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2016-06-24T17:37:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=cb84e36cb3af64a84d2346b590c757b32eadb4f2'/>
<id>cb84e36cb3af64a84d2346b590c757b32eadb4f2</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: Add storage pool lifecycle event tests</title>
<updated>2016-06-16T16:25:44+00:00</updated>
<author>
<name>Jovanka Gulicoska</name>
<email>jovanka.gulicoska@gmail.com</email>
</author>
<published>2016-06-14T21:22:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=d42cb2b170f2ef7244a5e4da3e9c0f8dbc9be479'/>
<id>d42cb2b170f2ef7244a5e4da3e9c0f8dbc9be479</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>event: Add support VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED</title>
<updated>2016-04-18T11:18:26+00:00</updated>
<author>
<name>Peter Krempa</name>
<email>pkrempa@redhat.com</email>
</author>
<published>2016-04-18T10:53:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=1233645a280a70c45769f3041f2b773d51ce593c'/>
<id>1233645a280a70c45769f3041f2b773d51ce593c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for JOB_COMPLETED event</title>
<updated>2016-03-08T15:47:49+00:00</updated>
<author>
<name>Jiri Denemark</name>
<email>jdenemar@redhat.com</email>
</author>
<published>2016-03-08T15:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=34363876278732ff9dbcccfda01d4d7b7d95b18c'/>
<id>34363876278732ff9dbcccfda01d4d7b7d95b18c</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>Add support for MIGRATION_ITERATION event</title>
<updated>2016-01-18T14:52:01+00:00</updated>
<author>
<name>Jiri Denemark</name>
<email>jdenemar@redhat.com</email>
</author>
<published>2016-01-15T09:13:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=3413cc44b26d9e4e36318e70938b45b336689681'/>
<id>3413cc44b26d9e4e36318e70938b45b336689681</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>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>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>
</feed>
