Skip to content

block: allow partial info-block query

John Snow qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 4 repliesIn review
  2. v24 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- Fix qemu-img output such that "backing file IS the absolute backing path" and "absolute backing path was indeterminate" are distinguishable via a new error message present in block/qapi.c; see patch 3.
- Output for test 110 modified once more to expect the above error.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5block/qapi: do not redundantly print "actual path"block/qapi.c+3 -10 replies
2/5block/qapi: always report full_backing_filenameblock/qapi.c tests/qemu-iotests/043.out+6 -30 replies
3/5block/qapi: explicitly warn if !has_full_backing_filenameblock/qapi.c+4 -32 replies
4/5qemu-img: abort when full_backing_filename not presentqemu-img.c+4 -10 replies
5/5block/qapi: allow best-effort queryblock/qapi.c tests/qemu-iotests/110.out+8 -41 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMax Reitz
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/5] block: allow partial info-block query

Allow info-block to succeed even when it cannot reconstruct filenames, but be explicit about this failure. Utilities that rely on the current behavior are modified to report this explicit failure to users.

v3:
- Fix qemu-img output such that "backing file IS the absolute backing path" and "absolute backing path was indeterminate" are distinguishable via a new error message present in block/qapi.c; see patch 3.
- Output for test 110 modified once more to expect the above error.

v2:
- Fix qemu-img from now choking when it gets a partial response.

________________________________________________________________________________

For convenience, this branch is available at:
https://github.com/jnsnow/qemu.git branch block-allow-partial-query
https://github.com/jnsnow/qemu/tree/block-allow-partial-query

This version is tagged block-allow-partial-query-v3:
https://github.com/jnsnow/qemu/releases/tag/block-allow-partial-query-v3

John Snow (5):
block/qapi: do not redundantly print "actual path" block/qapi: always report full_backing_filename block/qapi: explicitly warn if !has_full_backing_filename
qemu-img: abort when full_backing_filename not present block/qapi: allow best-effort query

 block/qapi.c               | 19 ++++++++++++-------
 qemu-img.c                 |  5 ++++-
 tests/qemu-iotests/043.out |  2 ++
 tests/qemu-iotests/110.out |  5 ++++-
 4 files changed, 22 insertions(+), 9 deletions(-)
Signature · 1 line
2.4.3