[libvirt-python PATCH 0/2] Python bindings for IOThreads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Going along with the recent libvirt IOThreads API additions, here's the
Python patches... These would only be submitted once the libvirt code
goes in... See the following for the libvirt patches:

http://www.redhat.com/archives/libvir-list/2015-February/msg00593.html

Reviewer's NOTE:
  - Alternatively to the error from patch 1, I could modify the code to
    not fail on <= 0, but rather just < 0 with the result being the following
    for a domain without IOThreads configured:

$ python iothr.py
[]

$

Instead of:

Traceback (most recent call last):
  File "iothr.py", line 6, in <module>
    print dom2.getIOThreadsInfo()
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1197, in getIOThreadsInfo
    if ret is None: raise libvirtError ('virDomainGetIOThreadsInfo() failed', dom=self)
libvirt.libvirtError: virDomainGetIOThreadsInfo() failed


John Ferlan (2):
  Support virDomainGetIOThreadsInfo and virDomainIOThreadsInfoFree
  Support virDomainSetIOThreads

 generator.py             |   6 ++
 libvirt-override-api.xml |  14 ++++
 libvirt-override.c       | 163 +++++++++++++++++++++++++++++++++++++++++++++++
 sanitytest.py            |   3 +
 4 files changed, 186 insertions(+)

-- 
2.1.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]