]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: add API exports for virConnectListAllDomains()
authorPeter Krempa <pkrempa@redhat.com>
Sun, 20 May 2012 14:20:11 +0000 (16:20 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 18 Jun 2012 19:24:13 +0000 (21:24 +0200)
commitbd34cc8c451b03a044e98d2f68e25620e15c4831
tree3305aca5dd08aa61ab0b872411199e0f87bab015
parent747f64eeaf9022a6d1155697f2344862653c5c95
python: add API exports for virConnectListAllDomains()

This patch adds export of the new API function
virConnectListAllDomains() to the libvirt-python bindings. The
virConnect object now has method "listAllDomains" that takes only the
flags parameter and returns a python list of virDomain object
corresponding to virDomainPtrs returned by the underlying api.

The implementation is done manually as the generator does not support
wrapping list of virDomainPtrs into virDomain objects.
python/libvirt-override-api.xml
python/libvirt-override-virConnect.py
python/libvirt-override.c