qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 for-2.11] migration, xen: Fix block image loc


From: Juan Quintela
Subject: Re: [Qemu-devel] [PATCH v2 for-2.11] migration, xen: Fix block image lock issue on live migration
Date: Tue, 21 Nov 2017 19:41:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Anthony PERARD <address@hidden> wrote:
> 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 <address@hidden>
> ---
> Changes in V2:
> - add the live parameter
>
> CC: Kevin Wolf <address@hidden>
>
> also CCing libxl maintainers:
> CC: Ian Jackson <address@hidden>
> CC: Wei Liu <address@hidden>

Reviewed-by: Juan Quintela <address@hidden>
queued



reply via email to

[Prev in Thread] Current Thread [Next in Thread]