diff options
author | Jiri Denemark <jdenemar@redhat.com> | 2013-06-14 11:20:54 +0200 |
---|---|---|
committer | Jiri Denemark <jdenemar@redhat.com> | 2013-06-25 01:28:39 +0200 |
commit | 9b3d7894495c6b4fa1321330eb6d2d8162ee10b1 (patch) | |
tree | f3c87d342f78d5bf9bad564b9d747905ffd72644 /libvirt-override-api.xml | |
parent | 1c94615878deed7077821a43b560b729cfc8b53a (diff) | |
download | libvirt-python-v6-7f881989822f10863f92d08793e1e93d03cc1179.tar.gz libvirt-python-v6-7f881989822f10863f92d08793e1e93d03cc1179.tar.xz libvirt-python-v6-7f881989822f10863f92d08793e1e93d03cc1179.zip |
python: Add bindings for extensible migration APIsv1.1.0-rc2v1.1.0-rc1v1.1.0CVE-2013-2218
The patch implements wrappers for virDomainMigrate3 and
virDomainMigrateToURI3.
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r-- | libvirt-override-api.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 155ab36..9a88215 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -527,6 +527,24 @@ <arg name='flags' type='unsigned int' info='flags, currently unused, pass 0.'/> <return type='unsigned long' info='current max migration speed, or None in case of error'/> </function> + <function name='virDomainMigrate3' file='python'> + <info>Migrate the domain object from its current host to the destination host + given by dconn (a connection to the destination host).</info> + <arg name='domain' type='virDomainPtr' info='a domain object'/> + <arg name='dconn' type='virConnectPtr' info='pointer to the destination host connection'/> + <arg name='params' type='char *' info='dictionary with migration parameters'/> + <arg name='flags' type='unsigned int' info='an OR'ed set of virDomainMigrateFlags'/> + <return type='virDomainPtr' info='a new domain object or NULL in case of failure'/> + </function> + <function name='virDomainMigrateToURI3' file='python'> + <info>Migrate the domain object from its current host to the destination host + given by URI.</info> + <arg name='domain' type='virDomainPtr' info='a domain object'/> + <arg name='dconnuri' type='virConnectPtr' info='URI for target libvirtd if @flags includes VIR_MIGRATE_PEER2PEER'/> + <arg name='params' type='char *' info='dictionary with migration parameters'/> + <arg name='flags' type='unsigned int' info='an OR'ed set of virDomainMigrateFlags'/> + <return type='int' info='0 in case of success, -1 in case of failure.'/> + </function> <function name='virDomainSetBlockIoTune' file='python'> <info>Change the I/O tunables for a block device</info> <arg name='dom' type='virDomainPtr' info='pointer to the domain'/> |