Re: [PATCH 17/21] Extensible migration APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 18, 2013 at 04:05:59PM +0200, Jiri Denemark wrote:
> 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 |  10 ++
>  python/generator.py          |   2 +
>  src/libvirt.c                | 376 +++++++++++++++++++++++++++++++++++++++++++
>  src/libvirt_public.syms      |   6 +
>  4 files changed, 394 insertions(+)

ACK,

Lets hope this really is the last variant we need to add
for migration :-)

Arguably we could merge the Migrate3 and MigrateToURI3 variants
into one, but that'd complicate life more than is desired, so
leave it as is with them split.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]