On Tue, Mar 10, 2020 at 12:38:30 +0100, Kevin Wolf wrote:
> This patch adds test cases for attaching the backing chain to a mirror
> job target right before finalising the job, where the image is in a
> non-mainloop AioContext (i.e. the backing chain needs to be moved to the
> AioContext of the mirror target).
> 
> This requires switching the test case from virtio-blk to virtio-scsi
> because virtio-blk only actually starts using the iothreads when the
> guest driver initialises the device (which never happens in a test case
> without a guest OS). virtio-scsi always keeps its block nodes in the
> AioContext of the the requested iothread without guest interaction.
> 
> Signed-off-by: Kevin Wolf <[email protected]>
> ---
>  tests/qemu-iotests/155     | 32 +++++++++++++++++++++++---------
>  tests/qemu-iotests/155.out |  4 ++--
>  2 files changed, 25 insertions(+), 11 deletions(-)

Reviewed-by: Peter Krempa <[email protected]>


Reply via email to