From 1c94615878deed7077821a43b560b729cfc8b53a Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 7 May 2013 14:29:19 +0200 Subject: 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. --- generator.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'generator.py') 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 = ( -- cgit