qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 4/7] iotests: Test mirror with temporarily disabled target


From: Peter Krempa
Subject: Re: [PATCH v2 4/7] iotests: Test mirror with temporarily disabled target backing file
Date: Tue, 10 Mar 2020 14:25:36 +0100
User-agent: Mutt/1.13.3 (2020-01-12)

On Tue, Mar 10, 2020 at 12:38:28 +0100, Kevin Wolf wrote:
> The newly tested scenario is a common live storage migration scenario:
> The target node is opened without a backing file so that the active
> layer is mirrored while its backing chain can be copied in the
> background.
> 
> The backing chain should be attached to the mirror target node when
> finalising the job, just before switching the users of the source node
> to the new copy (at which point the mirror job still has a reference to
> the node). drive-mirror did this automatically, but with blockdev-mirror
> this is the job of the QMP client.
> 
> This patch adds test cases for two ways to achieve the desired result,
> using either x-blockdev-reopen or blockdev-snapshot.
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  tests/qemu-iotests/155     | 56 ++++++++++++++++++++++++++++++++++----
>  tests/qemu-iotests/155.out |  4 +--
>  2 files changed, 53 insertions(+), 7 deletions(-)

Reviewed-by: Peter Krempa <address@hidden>




reply via email to

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