block: QMP cache info and HMP node support
Status from this message: Applied to block-next (with the trivial conflict resolution in patch 1
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 2 repliesApplied
- v16 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Markus didn't like QMP query-* commands that filter, so this series is mainly about HMP now [Markus]
- Use BlockdevCacheInfo instead of BlockdevCacheOptions [Markus]
- API version changed to 2.3
- Added 'info block -n' which lists all names nodes
- Added a tab completion fix for HMP, bug exposed by 'info block -n'
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | block/qapi: Add cache information to query-blockblock/ hmp.c qapi/ +2 more | +36 | 1 reply | |
| 2/5 | block/hmp: Factor out print_block_info()hmp.c | +97 | 0 replies | |
| 3/5 | block/hmp: Allow info = NULL in print_block_info()hmp.c | +25 | 0 replies | |
| 4/5 | block/hmp: Allow node-name in 'info block'hmp.c monitor.c | +33 | 0 replies | |
| 5/5 | monitor: Fix HMP tab completionmonitor.c | +1 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
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/5] block: QMP cache info and HMP node support
This was supposed to be the first part of a series allowing to override the cache mode for backing files, and more specifically to support the test cases for that series.
However, this work turned out to be a bit more complicated than I had hoped, and the query improvement is nice to have on its own, so I'm sending this out as a standalone series.
v2:
- Markus didn't like QMP query-* commands that filter, so this series is mainly about HMP now [Markus]
- Use BlockdevCacheInfo instead of BlockdevCacheOptions [Markus]
- API version changed to 2.3
- Added 'info block -n' which lists all names nodes
- Added a tab completion fix for HMP, bug exposed by 'info block -n'
Kevin Wolf (5):
block/qapi: Add cache information to query-block block/hmp: Factor out print_block_info() block/hmp: Allow info = NULL in print_block_info() block/hmp: Allow node-name in 'info block'
monitor: Fix HMP tab completion
block/qapi.c | 7 ++ hmp.c | 219 ++++++++++++++++++++++++++++----------------- monitor.c | 8 +- qapi/block-core.json | 20 ++++- tests/qemu-iotests/051.out | 1 + tests/qemu-iotests/067.out | 10 +-- 6 files changed, 173 insertions(+), 92 deletions(-)
Signature · 1 line
1.8.3.1