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>
This commit is contained in:
Adam Litke
2011-06-14 09:36:52 -05:00
committed by Eric Blake
parent 3e2493ce28
commit d74b86f5d6
3 changed files with 69 additions and 3 deletions

View File

@@ -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',
)