summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2013-05-07 14:29:19 +0200
committerJiri Denemark <jdenemar@redhat.com>2013-06-25 01:24:53 +0200
commit1c94615878deed7077821a43b560b729cfc8b53a (patch)
treea367972fc0e2ed910fd396f4139bb236e1f814d8
parent84d3e36109bd7d2ab03af8866897d1149890d317 (diff)
downloadlibvirt-python-split-1c94615878deed7077821a43b560b729cfc8b53a.zip
libvirt-python-split-1c94615878deed7077821a43b560b729cfc8b53a.tar.gz
libvirt-python-split-1c94615878deed7077821a43b560b729cfc8b53a.tar.xz
Extensible migration APIs
This patch introduces two new APIs virDomainMigrate3 and virDomainMigrateToURI3 that may be used in place of their older variants. These new APIs take optional migration parameters (such as bandwidth, domain XML, ...) in an array of virTypedParameters, which makes adding new parameters easier as there's no need to introduce new APIs whenever a new migration parameter needs to be added. Both APIs are backward compatible and will automatically use older migration calls in case the new calls are not supported as long as the typed parameters array does not contain any parameter which was not supported by the older calls.
-rwxr-xr-xgenerator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 8c380bb..da642eb 100755
--- a/generator.py
+++ b/generator.py
@@ -458,6 +458,8 @@ skip_impl = (
'virNodeGetMemoryParameters',
'virNodeSetMemoryParameters',
'virNodeGetCPUMap',
+ 'virDomainMigrate3',
+ 'virDomainMigrateToURI3',
)
lxc_skip_impl = (