[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 06/15] iotests: rebase qemu_io() on top of qemu_tool()
From: |
Eric Blake |
Subject: |
Re: [PATCH 06/15] iotests: rebase qemu_io() on top of qemu_tool() |
Date: |
Mon, 21 Mar 2022 10:29:02 -0500 |
User-agent: |
NeoMutt/20211029-454-6adf99 |
On Fri, Mar 18, 2022 at 04:36:46PM -0400, John Snow wrote:
> Rework qemu_io() to be analogous to qemu_img(); a function that requires
> a return code of zero by default unless disabled explicitly.
>
> Tests that use qemu_io():
> 030 040 041 044 055 056 093 124 129 132 136 148 149 151 152 163 165 205
> 209 219 236 245 248 254 255 257 260 264 280 298 300 302 304
> image-fleecing migrate-bitmaps-postcopy-test migrate-bitmaps-test
> migrate-during-backup migration-permissions
>
> Test that use qemu_io_log():
> 242 245 255 274 303 307 nbd-reconnect-on-open
>
> Signed-off-by: John Snow <jsnow@redhat.com>
>
> ---
>
> Note: This breaks several tests at this point. I'll be fixing each
> broken test one by one in the subsequent commits. We can squash them all
> on merge to avoid test regressions.
>
> (Seems like a way to have your cake and eat it too with regards to
> maintaining bisectability while also having nice mailing list patches.)
Interesting approach; it does appear to have made reviewing a bit
easier, so thanks for trying it.
I'll withhold actual R-b until the last squashed patch, but so far, I
haven't seen anything that causes me grief other than the lack of
bisectability that you already have documented how it will be
addressed. [less wordy - this patch is incomplete, as advertised, but
looks good]
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- Re: [PATCH 05/15] iotests: create generic qemu_tool() function, (continued)
- [PATCH 02/15] iotests/163: Fix broken qemu-io invocation, John Snow, 2022/03/18
- [PATCH 12/15] iotests/migration-permissions: use assertRaises() for qemu_io() negative test, John Snow, 2022/03/18
- [PATCH 06/15] iotests: rebase qemu_io() on top of qemu_tool(), John Snow, 2022/03/18
- [PATCH 11/15] iotests/migration-permissions: fixup, John Snow, 2022/03/18
- [PATCH 15/15] iotests: make qemu_io_log() check return codes by default, John Snow, 2022/03/18
- [PATCH 14/15] iotests: remove qemu_io_silent() and qemu_io_silent_check()., John Snow, 2022/03/18