[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v5 6/6] iotests: Test changed Quorum filename
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH v5 6/6] iotests: Test changed Quorum filename |
Date: |
Mon, 19 Oct 2015 15:13:48 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 10/19/2015 12:49 PM, Max Reitz wrote:
> After drive-mirror replacing a Quorum child, the filename of the Quorum
> BDS should reflect the change. This patch replaces the existing test for
> whether the operation did actually exchange the BDS (which simply tested
> whether the new BDS existed) by a test which examines the children list
> contained in the Quorum BDS's filename as returned by query-block.
>
> As a nice side effect of confirming that the new BDS actually belongs to
> the Quorum BDS, this checks whether the filename was properly updated.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> tests/qemu-iotests/041 | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH v5 1/6] block: Change bdrv_get_encrypted_filename(), (continued)
- [Qemu-block] [PATCH v5 1/6] block: Change bdrv_get_encrypted_filename(), Max Reitz, 2015/10/19
- [Qemu-block] [PATCH v5 3/6] block: Add bdrv_filename(), Max Reitz, 2015/10/19
- [Qemu-block] [PATCH v5 4/6] qemu-img: Use bdrv_filename() for map, Max Reitz, 2015/10/19
- [Qemu-block] [PATCH v5 6/6] iotests: Test changed Quorum filename, Max Reitz, 2015/10/19
- [Qemu-block] [PATCH v5 5/6] block: Drop BlockDriverState.filename, Max Reitz, 2015/10/19