Re: [PATCH V3] implement offline migration

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

 



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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]