[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] iotests: nbd: Stop qemu-nbd before remaking
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v2] iotests: nbd: Stop qemu-nbd before remaking image |
Date: |
Wed, 11 Jul 2018 12:23:44 +0200 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
Am 11.07.2018 um 08:40 hat Fam Zheng geschrieben:
> 197 is one example where _make_test_img is used twice without stopping
> the NBD server in between. An error will occur like this:
>
> @@ -26,9 +26,13 @@
>
> === Partial final cluster ===
>
> +qemu-img: TEST_DIR/t.IMGFMT: Failed to get "resize" lock
> +Is another process using the image?
> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1024
> +Failed to find an available port: Address already in use
> read 1024/1024 bytes at offset 0
>
> Patch _make_test_img to stop the old qemu-nbd before starting a new one,
> which fixes this problem, and similarly 215.
>
> Signed-off-by: Fam Zheng <address@hidden>
Thanks, applied to the block branch.
Kevin