[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 134b7d: block: Fix bdrv_aligned_p*v() for qio
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 134b7d: block: Fix bdrv_aligned_p*v() for qiov_offset != 0 |
Date: |
Tue, 28 Jul 2020 10:45:29 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 134b7dec6ec2d90616d7986afb3b3b7ca7a4c383
https://github.com/qemu/qemu/commit/134b7dec6ec2d90616d7986afb3b3b7ca7a4c383
Author: Max Reitz <mreitz@redhat.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M block/io.c
Log Message:
-----------
block: Fix bdrv_aligned_p*v() for qiov_offset != 0
Since these functions take a @qiov_offset, they must always take it into
account when working with @qiov. There are a couple of places where
they do not, but they should.
Fixes: 65cd4424b9df03bb5195351c33e04cbbecc0705c
("block/io: bdrv_aligned_preadv: use and support qiov_offset")
Fixes: 28c4da28695bdbe04b336b2c9c463876cc3aaa6d
("block/io: bdrv_aligned_pwritev: use and support qiov_offset")
Reported-by: Claudio Fontana <cfontana@suse.de>
Reported-by: Bruce Rogers <brogers@suse.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200728120806.265916-2-mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tested-by: Claudio Fontana <cfontana@suse.de>
Tested-by: Bruce Rogers <brogers@suse.com>
Commit: ae159450e161b3e1e2c5b815d19632abbbbcd1a1
https://github.com/qemu/qemu/commit/ae159450e161b3e1e2c5b815d19632abbbbcd1a1
Author: Max Reitz <mreitz@redhat.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M tests/qemu-iotests/028
M tests/qemu-iotests/028.out
Log Message:
-----------
iotests/028: Add test for cross-base-EOF reads
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200728120806.265916-3-mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tested-by: Claudio Fontana <cfontana@suse.de>
Commit: afac471b71da92d91cc56fb64c0719b8a4a2d96b
https://github.com/qemu/qemu/commit/afac471b71da92d91cc56fb64c0719b8a4a2d96b
Author: Max Reitz <mreitz@redhat.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M tests/qemu-iotests/197
M tests/qemu-iotests/197.out
Log Message:
-----------
iotests/197: Fix for non-qcow2 formats
While 197 is very much a qcow2 test, and it looks like the partial
cluster case at the end (introduced in b0ddcbbb36a66a6) is specifically
a qcow2 case, the whole test scripts actually marks itself to work with
generic formats (and generic protocols, even).
Said partial cluster case happened to work with non-qcow2 formats as
well (mostly by accident), but 1855536256 broke that, because it sets
the compat option, which does not work for non-qcow2 formats.
So go the whole way and force IMGFMT=qcow2 and IMGPROTO=file, as done in
other places in this test.
Fixes: 1855536256eb0a5708b04b85f744de69559ea323
("iotests/197: Fix for compat=0.10")
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200728131134.902519-1-mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Commit: 0c4fa5bc1aa47d30a8def2dc8345284400d123f1
https://github.com/qemu/qemu/commit/0c4fa5bc1aa47d30a8def2dc8345284400d123f1
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M block/io.c
M tests/qemu-iotests/028
M tests/qemu-iotests/028.out
M tests/qemu-iotests/197
M tests/qemu-iotests/197.out
Log Message:
-----------
Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2020-07-28'
into staging
Block patches for 5.1.0:
- Fix block I/O for split transfers
- Fix iotest 197 for non-qcow2 formats
# gpg: Signature made Tue 28 Jul 2020 14:45:28 BST
# gpg: using RSA key 91BEB60A30DB3E8857D11829F407DB0061D5CF40
# gpg: issuer "mreitz@redhat.com"
# gpg: Good signature from "Max Reitz <mreitz@redhat.com>" [full]
# Primary key fingerprint: 91BE B60A 30DB 3E88 57D1 1829 F407 DB00 61D5 CF40
* remotes/maxreitz/tags/pull-block-2020-07-28:
iotests/197: Fix for non-qcow2 formats
iotests/028: Add test for cross-base-EOF reads
block: Fix bdrv_aligned_p*v() for qiov_offset != 0
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/0a58e39fe90c...0c4fa5bc1aa4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 134b7d: block: Fix bdrv_aligned_p*v() for qiov_offset != 0,
Peter Maydell <=