summaryrefslogtreecommitdiff
path: root/generator.py
diff options
context:
space:
mode:
authorAdam Litke <agl@us.ibm.com>2011-06-14 09:36:52 -0500
committerEric Blake <eblake@redhat.com>2011-06-14 22:37:39 -0600
commit4e6c71983c7c2c1c5be242d8d6f713521dfd9152 (patch)
tree13fa241db50e79f108cec77e29e58c6f7df8f8d0 /generator.py
parent100fe0b46babe8ba48193cf1fd6e520278e9afbd (diff)
downloadlibvirt-python-4e6c71983c7c2c1c5be242d8d6f713521dfd9152.tar.gz
Enable virDomainBlockPull in the python API.
virDomainBlockPullAll and virDomainBlockPullAbort are handled automatically. virDomainBlockPull and virDomainBlockPullInfo require manual overrides since they return a custom type. * python/generator.py: reenable bindings for this entry point * python/libvirt-override-api.xml python/libvirt-override.c: manual overrides Signed-off-by: Adam Litke <agl@us.ibm.com> Acked-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'generator.py')
-rwxr-xr-xgenerator.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/generator.py b/generator.py
index 5868992..39c3ca7 100755
--- a/generator.py
+++ b/generator.py
@@ -184,8 +184,6 @@ def enum(type, name, value):
functions_failed = []
functions_skipped = [
"virConnectListDomains",
- 'virDomainBlockPull',
- 'virDomainGetBlockPullInfo',
]
skipped_modules = {
@@ -200,7 +198,6 @@ skipped_types = {
'virConnectDomainEventIOErrorCallback': "No function types in python",
'virConnectDomainEventGraphicsCallback': "No function types in python",
'virEventAddHandleFunc': "No function types in python",
- 'virDomainBlockPullInfoPtr': "Not implemented yet",
}
#######################################################################
@@ -368,6 +365,8 @@ skip_impl = (
'virDomainSendKey',
'virNodeGetCPUStats',
'virNodeGetMemoryStats',
+ 'virDomainBlockPull',
+ 'virDomainGetBlockPullInfo',
)