[libvirt] [PATCH] libxl: resume lock process after failed migration

Michal Privoznik mprivozn at redhat.com
Thu Jan 25 14:41:46 UTC 2018

On 01/24/2018 10:43 PM, Jim Fehlig wrote:
> During migration, the lock process is paused in the perform phase
> but not resumed if there is a subsequent failure, leaving the locked
> resource unprotected.
> The perform phase itself can fail, in which case the lock process
> should be resumed before returning from perform. The finish phase
> could also fail on the destination host, in which case the migration
> is canceled in the confirm phase and the VM is resumed. The lock
> process needs to be resumed there as well.
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>  src/libxl/libxl_migration.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)



More information about the libvir-list mailing list