[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] iotests: Test resizing image attached to an iothread
From: |
Eric Blake |
Subject: |
Re: [PATCH] iotests: Test resizing image attached to an iothread |
Date: |
Tue, 9 May 2023 11:15:45 -0500 |
User-agent: |
NeoMutt/20230407 |
On Tue, May 09, 2023 at 12:59:31PM +0200, Kevin Wolf wrote:
> This tests that trying to resize an image with QMP block_resize doesn't
> hang or otherwise fail when the image is attached to a device running in
> an iothread.
>
> This is a regression test for the recent fix that changed
> qmp_block_resize, which is a coroutine based QMP handler, to avoid
> calling no_coroutine_fns directly.
>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> tests/qemu-iotests/tests/iothreads-resize | 70 +++++++++++++++++++
> tests/qemu-iotests/tests/iothreads-resize.out | 12 ++++
> 2 files changed, 82 insertions(+)
> create mode 100755 tests/qemu-iotests/tests/iothreads-resize
> create mode 100644 tests/qemu-iotests/tests/iothreads-resize.out
>
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org