[libvirt] [PATCH V3] implement offline migration

Eric Blake eblake at redhat.com
Tue Aug 28 15:22:42 UTC 2012


On 08/28/2012 02:21 AM, liguang wrote:

>> src: begin - pass the xml to dst (unchanged for offline)
>> dst: prepare - get ready to accept incoming VM (online starts a new qemu
> 
> but, how can dst knows the prepared migration is offline or not at src?

By the cookie that was passed in from src from the begin phase.  That
is, you need to expand the cookie to pass one more piece of information
- whether this is a live or offline migration.

> virDomainObjIsActive will always return 0 at dst at prepare phase,
> so, how can we setup a distinguished stream for offline migration here?
> a special parameter for this purpose? roughly way, a modified API same
> with a new API, I think.

No, we do not need a new API.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120828/a83a2e4e/attachment-0001.sig>


More information about the libvir-list mailing list