]> Git Repo - qemu.git/commit - qapi/migration.json
migration, xen: Fix block image lock issue on live migration
authorAnthony PERARD <[email protected]>
Thu, 16 Nov 2017 15:14:19 +0000 (15:14 +0000)
committerJuan Quintela <[email protected]>
Tue, 21 Nov 2017 18:42:26 +0000 (19:42 +0100)
commit5d6c599fe1d69a1bf8c5c4d3c58be2b31cd625ad
treee23fa6670aed9cfb31ee9b48d48aec4aff46a7c9
parenta15d835f00dce270fd3194e83d9910f4b5b44ac0
migration, xen: Fix block image lock issue on live migration

When doing a live migration of a Xen guest with libxl, the images for
block devices are locked by the original QEMU process, and this prevent
the QEMU at the destination to take the lock and the migration fail.

>From QEMU point of view, once the RAM of a domain is migrated, there is
two QMP commands, "stop" then "xen-save-devices-state", at which point a
new QEMU is spawned at the destination.

Release locks in "xen-save-devices-state" so the destination can takes
them, if it's a live migration.

This patch add the "live" parameter to "xen-save-devices-state" which
default to true so older version of libxenlight can work with newer
version of QEMU.

Signed-off-by: Anthony PERARD <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
migration/savevm.c
qapi/migration.json
This page took 0.024266 seconds and 4 git commands to generate.