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 <kw...@redhat.com> > --- > tests/qemu-iotests/155 | 56 ++++++++++++++++++++++++++++++++++---- > tests/qemu-iotests/155.out | 4 +-- > 2 files changed, 53 insertions(+), 7 deletions(-)
Reviewed-by: Peter Krempa <pkre...@redhat.com>