]> xenbits.xensource.com Git - libvirt.git/commit
Extensible migration APIs
authorJiri Denemark <jdenemar@redhat.com>
Tue, 7 May 2013 12:29:19 +0000 (14:29 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 24 Jun 2013 23:24:53 +0000 (01:24 +0200)
commit4bf62f44a99cfeeb4d9bfb6f246c125f223efe91
tree0b1ca6bf5515868aa91c2278909734278a2d2f0c
parent35820ad54357eae53b92f9205c37ba066fe6c167
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.
include/libvirt/libvirt.h.in
python/generator.py
src/libvirt.c
src/libvirt_public.syms