qcow2: Fix crash during copy_sectors() after corruption
Status from this message: Thanks, applied to my block tree:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qcow2: Check bs->drv in copy_sectors()block/ | +4 | 5 replies | |
| 2/3 | block: bs->drv may be NULL in bdrv_debug_resume()block.c | +1 | 0 replies | |
| 3/3 | iotests: Test corruption during COW requesttests/ tests/ | +41 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Kevin Wolf |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/3] qcow2: Fix crash during copy_sectors() after corruption
This series fixes a call to a NULL function pointer during copy_sectors(), if a concurrent write request triggered the corruption prevention mechanism.
Max Reitz (3):
qcow2: Check bs->drv in copy_sectors()
block: bs->drv may be NULL in bdrv_debug_resume()
iotests: Test corruption during COW request
block.c | 2 +- block/qcow2-cluster.c | 4 ++++ tests/qemu-iotests/060 | 26 ++++++++++++++++++++++++++ tests/qemu-iotests/060.out | 15 +++++++++++++++ 4 files changed, 46 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.0