blockdev: support dataplane in QMP 'transaction' command
Status from this message: Applied to my block-next tree:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | blockdev: update outdated qmp_transaction() commentsblockdev.c | +6 | 2 replies | |
| 2/4 | blockdev: drop unnecessary DriveBackupState field assignmentblockdev.c | +0 | 1 reply | |
| 3/4 | blockdev: acquire AioContext in QMP 'transaction' actionsblockdev.c hw/ | +53 | 2 replies | |
| 4/4 | blockdev: check for BLOCK_OP_TYPE_EXTERNAL_SNAPSHOTblockdev.c | +4 | 3 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Max Reitz |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | 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 0/4] blockdev: support dataplane in QMP 'transaction' command
These patches make the QMP 'transaction' command work with virtio-blk dataplane. Each 'transaction' action must take care to acquire AioContext around BlockDriverState accesses. Once that protection is in place we can unblock the op blockers for these commands.
The meat is in Patch 3.
Patches 1 & 2 are minor cleanups.
Patch 4 protects the external snapshot command (oops, we forgot!).
Stefan Hajnoczi (4):
blockdev: update outdated qmp_transaction() comments
blockdev: drop unnecessary DriveBackupState field assignment
blockdev: acquire AioContext in QMP 'transaction' actions
blockdev: check for BLOCK_OP_TYPE_EXTERNAL_SNAPSHOT
blockdev.c | 74 +++++++++++++++++++++++++++++++++-------- hw/block/dataplane/virtio-blk.c | 2 ++ 2 files changed, 63 insertions(+), 13 deletions(-)
Signature · 1 line
2.1.0