[libvirt] [PATCH v2 0/2] Python bindings for IOThreads

John Ferlan jferlan at redhat.com
Mon Feb 23 12:59:58 UTC 2015


v1 here:

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

Changes in v2:
 * Return an empty list when there are no IOThreads found
 * Fix alloc/cleanup logic to match review comments
   * Used "PyObject *error = NULL" like the GetCPUStats code in order to
     return either NULL for Py*_New() and PyTuple_SetItem() method errors
     or VIR_PY_NONE for other exceptions
   * Only make the Py_XDECREF calls on objects which don't get consumed by
     PyTuple_SetItem 
 * Change name of method from "getIOThreadsInfo" to "ioThreadsInfo"

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

 generator.py             |   6 ++
 libvirt-override-api.xml |  14 ++++
 libvirt-override.c       | 180 +++++++++++++++++++++++++++++++++++++++++++++++
 sanitytest.py            |   5 ++
 4 files changed, 205 insertions(+)

-- 
2.1.0




More information about the libvir-list mailing list