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

[libvirt] Migration with non-shared storage



Support for live migration between hosts that do not share storage was
added to qemu-kvm release 0.12.1.
It supports two flags:
-b migration without shared storage with full disk copy
-i  migration without shared storage with incremental copy (same base image
shared between source and destination).

I suggest adding these flags to  virDomainMigrate.

If I'm not mistaken qemuMonitorTextMigrate is the function that actually
invokes the kvm monitor.
Thus, it would be necessary to pass the flags to qemuMonitorTextMigrate..
But qemuMonitorTextMigrate does not have a flag input parameter.  I think
the least disruptive way to support the new flags is use the existing
"background" parameter
to pass the flags.   Of course this would require some changes to the
upstream functions that are invoked for migration.

What do you think?


Kenneth Nagin





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