
On Fri, Mar 04, 2016 at 18:20:51 +0100, Jiri Denemark wrote:
On Wed, Mar 02, 2016 at 12:42:21 +0100, Jiri Denemark wrote:
(See "Add public APIs for post-copy migration" patch for more details about post-copy migration.)
Post-copy support was originally written by Cristian Klein in 2014, but no one touched the series since then. Some patches in this series are modified versions of the old patches from Cristian, some patches had to be rewritten from scratch since libvirt code changed a lot (we started using migration events), and some patches are completely new.
While post-copy migration is included in QEMU 2.5.0, it didn't support everything libvirt needs. Thus you need QEMU from git to use post-copy. Luckily, the QEMU migration capability we need to enable to use post-copy is still prefixed with "x-", which means it's still considered experimental. We are pretty sure the interface QEMU provides is OK, but we'd like to wait until seamless SPICE migration is fixed for post-copy before removing the experimental prefix. This should hopefully happen in time for QEMU 2.6.0.
The SPICE issue has already been fixed in QEMU. Dave Gilbert will send a patch for removing the "x-" prefix and once it is pushed we can update this code and push it to libvirt (as long as this series gets positive review, of course).
The patch removing "x-" prefix from post-copy migration capability was pushed to QEMU yesterday. I don't think such a trivial change on its own requires reposting, I'd rather wait for other feedback. The current version of this series can be found in my staging repository at https://gitlab.com/jirkade/libvirt/commits/post-copy-migration For Peter: git clone -b post-copy-migration https://gitlab.com/jirkade/libvirt.git Jirka