Skip to content

block: JSON filenames and relative backing files

Max Reitz qemu-devel 1 version Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2block: JSON filenames and relative backing filesblock.c block/qapi.c include/block/block.h+22 -63 replies
2/2iotests: Add test for relative backing file namestests/qemu-iotests/110 tests/qemu-iotests/110.out tests/qemu-iotests/group+103 -01 reply

Reviews trailers per patch

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

PatchEric Blake
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] block: JSON filenames and relative backing files

Sometimes, qemu does not have a filename to work with (it then generates a JSON filename), so it does not know which directory to use for a backing file specified by a relative filename.

In this case, qemu should not somehow try to append the backing file's name to the JSON object, but rather just print an error and bail out.

Max Reitz (2):
block: JSON filenames and relative backing files
iotests: Add test for relative backing file names

 block.c                    | 19 +++++++---
 block/qapi.c               |  7 +++-
 include/block/block.h      |  2 +-
 tests/qemu-iotests/110     | 87 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/110.out | 15 ++++++++
 tests/qemu-iotests/group   |  1 +
 6 files changed, 125 insertions(+), 6 deletions(-)
 create mode 100755 tests/qemu-iotests/110
 create mode 100644 tests/qemu-iotests/110.out
Signature · 1 line
1.9.3