[Libvir] [PATCH 1/2] virDomainMigrate implementation (Xen only, no remote, no qemu, no virsh)

Dan Smith danms at us.ibm.com
Mon Jul 16 14:22:27 UTC 2007


RJ>  * Params is a linked list of hypervisor-specific parameters.  Each
RJ>  * element is a virMigrateParamPtr containing the following fields:
RJ>  *   name               Parameter name being set.
RJ>  *   value              A union expressing the value.
RJ>  *     value.strv         A string value.
RJ>  *     value.longv        A long value.
RJ>  *   next               Next in linked list (or NULL for end of list).

This should allow us to pass URIs to qemu, as well.  I like it :)

RJ> +    /* Try to migrate. */
RJ> +    ddomain = conn->driver->domainMigrate (domain, dconn, flags,
RJ> +                                           dname,
RJ> +                                           hostname ? hostname : nchostname,
RJ> +                                           params);

As was previously mentioned, don't we need a call to the remote side
to let it know that the domain is coming before we start the actual
migration?  Are you expecting the driver implementation to do this?

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070716/2afcc55c/attachment-0001.sig>


More information about the libvir-list mailing list