block/qcow2: Migration handoff fixes and cleanups
Status from this message: Applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 2 repliesApplied
- v110 patches 56 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | qcow2: Write feature table only for v3 imagesblock/ tests/ tests/ | +26 | 0 replies | |
| 2/9 | qcow2: Write full header on image creationblock/ tests/ tests/ +2 more | +39 | 0 replies | |
| 3/9 | block: Assert no write requests under BDRV_O_INCOMINGblock/ | +2 | 0 replies | |
| 4/9 | block: Fix error path in bdrv_invalidate_cache()block.c | +2 | 0 replies | |
| 5/9 | block: Rename BDRV_O_INCOMING to BDRV_O_INACTIVEblock.c block/ block/ +3 more | +14 | 1 reply | |
| 6/9 | block: Inactivate BDS when migration completesblock.c include/ include/ +2 more | +55 | 0 replies | |
| 7/9 | qcow2: Implement .bdrv_inactivateblock/ | +28 | 0 replies | |
| 8/9 | qcow2: Fix BDRV_O_INACTIVE handling in qcow2_invalidate_cache()block/ | +2 | 0 replies | |
| 9/9 | qcow2: Make image inaccessible after failed qcow2_invalidate_cache()block/ | +3 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake | John Snow |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | |
| 4/9 | R-b | |
| 5/9 | R-b | |
| 6/9 | R-b | R-b |
| 7/9 | R-b | |
| 8/9 | R-b | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/9] block/qcow2: Migration handoff fixes and cleanups
This is the non-controversal part of the qcow2 locking series, which just makes the state of images with respect to live migration clearer and fixes a few bugs we have in the handoff procedure and with writing the qcow2 feature table.
Kevin Wolf (9):
qcow2: Write feature table only for v3 images
qcow2: Write full header on image creation
block: Assert no write requests under BDRV_O_INCOMING
block: Fix error path in bdrv_invalidate_cache()
block: Rename BDRV_O_INCOMING to BDRV_O_INACTIVE
block: Inactivate BDS when migration completes
qcow2: Implement .bdrv_inactivate
qcow2: Fix BDRV_O_INACTIVE handling in qcow2_invalidate_cache()
qcow2: Make image inaccessible after failed qcow2_invalidate_cache()
block.c | 42 +++++++++++++++-- block/io.c | 2 + block/qcow2.c | 110 +++++++++++++++++++++++++++------------------ block/qed.c | 4 +- include/block/block.h | 3 +- include/block/block_int.h | 1 + migration/migration.c | 7 +++ nbd.c | 2 +- qmp.c | 12 +++++ tests/qemu-iotests/031.out | 17 +++---- tests/qemu-iotests/036 | 2 + tests/qemu-iotests/036.out | 5 +++ tests/qemu-iotests/061.out | 35 ++++++++------- 13 files changed, 166 insertions(+), 76 deletions(-)
Signature · 1 line
1.8.3.1