From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylejb-0001ko-6u for qemu-devel@nongnu.org; Fri, 24 Apr 2015 10:37:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlejV-0005sB-Jv for qemu-devel@nongnu.org; Fri, 24 Apr 2015 10:37:39 -0400 Message-ID: <553A5529.2000306@redhat.com> Date: Fri, 24 Apr 2015 16:37:29 +0200 From: Max Reitz MIME-Version: 1.0 References: <1426791197-7793-1-git-send-email-mreitz@redhat.com> In-Reply-To: <1426791197-7793-1-git-send-email-mreitz@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/2] block: driver should override flags in bdrv_open() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi On 19.03.2015 19:53, Max Reitz wrote: > BDRV_O_PROTOCOL is an internal qemu flag which a user should be able to > override by explicitly specifying a block driver. This series implements > this and adds two iotests (one for NBD, one for file) to test it. > > > v2 (rebase on current master): > - Patch 1: Conflict in iotest 051's reference output (in a line that is > removed by this patch anyway) > > > git-backport-diff against v1: > > Key: > [----] : patches are identical > [####] : number of functional differences between upstream/downstream patch > [down] : patch is downstream-only > The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively > > 001/2:[0002] [FC] 'block: driver should override flags in bdrv_open()' > 002/2:[----] [-C] 'iotests: Add tests for overriding BDRV_O_PROTOCOL' > > > Max Reitz (2): > block: driver should override flags in bdrv_open() > iotests: Add tests for overriding BDRV_O_PROTOCOL > > block.c | 49 +++++++++++++++++++++------------- > tests/qemu-iotests/051 | 1 - > tests/qemu-iotests/051.out | 3 --- > tests/qemu-iotests/119 | 60 ++++++++++++++++++++++++++++++++++++++++++ > tests/qemu-iotests/119.out | 11 ++++++++ > tests/qemu-iotests/120 | 65 ++++++++++++++++++++++++++++++++++++++++++++++ > tests/qemu-iotests/120.out | 15 +++++++++++ > tests/qemu-iotests/group | 2 ++ > 8 files changed, 184 insertions(+), 22 deletions(-) > create mode 100755 tests/qemu-iotests/119 > create mode 100644 tests/qemu-iotests/119.out > create mode 100755 tests/qemu-iotests/120 > create mode 100644 tests/qemu-iotests/120.out Ping