mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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',
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user