Skip to content

block: Remove BB interface from blockdev-add/del

Kevin Wolf qemu-devel 3 versions – Applied

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

  1. v3 Latest12 patches 4 repliesApplied
  2. v211 patches 11 repliesSuperseded
  3. v111 patches 1 replySuperseded

Changes in v3 from the cover letter

- Patch 8: Fixed whitespace error
- Patch 9: Mention dropped cases in commit message
- Patch 10: New: Fix NULL use for %s in error messages
- Patch 11 (was 10): Update output after new patch 10
- Patch 12 (was 11):
Remove 'id' from blockdev-add error message Remove spurious # characters in QAPI documentation

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/12qemu-iotests/041: Avoid blockdev-add with idtests/qemu-iotests/041+32 -390 replies
2/12qemu-iotests/067: Avoid blockdev-add with idtests/qemu-iotests/067 tests/qemu-iotests/067.out+131 -860 replies
3/12qemu-iotests/071: Avoid blockdev-add with idtests/qemu-iotests/071+4 -40 replies
4/12qemu-iotests/081: Avoid blockdev-add with idtests/qemu-iotests/081+1 -10 replies
5/12qemu-iotests/087: Avoid blockdev-add with idtests/qemu-iotests/087 tests/qemu-iotests/087.out+6 -620 replies
6/12qemu-iotests/117: Avoid blockdev-add with idtests/qemu-iotests/117+2 -20 replies
7/12qemu-iotests/118: Avoid blockdev-add with idtests/qemu-iotests/118+1 -50 replies
8/12qemu-iotests/124: Avoid blockdev-add with idtests/qemu-iotests/124+10 -70 replies
9/12qemu-iotests/139: Avoid blockdev-add with idtests/qemu-iotests/139 tests/qemu-iotests/139.out+59 -1230 replies
10/12block: Avoid printing NULL string in error messagesblockdev.c tests/qemu-iotests/085.out+6 -91 reply
11/12qemu-iotests/141: Avoid blockdev-add with idtests/qemu-iotests/141 tests/qemu-iotests/141.out+26 -221 reply
12/12block: Remove BB interface from blockdev-add/delblockdev.c docs/qmp-commands.txt qapi/block-core.json+47 -1311 reply

Reviews trailers per patch

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

PatchEric Blake
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-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 00/12] block: Remove BB interface from blockdev-add/del

This series makes the next step towards a QAPI interface that doesn't require clients to know about BlockBackends. By removing the support for 'id' from blockdev-add, it becomes a command that always only creates a BDS (with a node name). Existing interfaces have already been changed to accept node names everywhere and BlockBackends are created whenever they are needed.

The actual change is in the last patch and pretty trivial, but many test cases use blockdev-add to create a BlockBackend and must be updated first.

v3:
- Patch 8: Fixed whitespace error
- Patch 9: Mention dropped cases in commit message
- Patch 10: New: Fix NULL use for %s in error messages
- Patch 11 (was 10): Update output after new patch 10
- Patch 12 (was 11):
Remove 'id' from blockdev-add error message Remove spurious # characters in QAPI documentation

v2:
- Rebased on top of qmp-commands.hx removal

Kevin Wolf (12):
qemu-iotests/041: Avoid blockdev-add with id qemu-iotests/067: Avoid blockdev-add with id qemu-iotests/071: Avoid blockdev-add with id qemu-iotests/081: Avoid blockdev-add with id qemu-iotests/087: Avoid blockdev-add with id qemu-iotests/117: Avoid blockdev-add with id qemu-iotests/118: Avoid blockdev-add with id qemu-iotests/124: Avoid blockdev-add with id qemu-iotests/139: Avoid blockdev-add with id
block: Avoid printing NULL string in error messages qemu-iotests/141: Avoid blockdev-add with id
block: Remove BB interface from blockdev-add/del

 blockdev.c                 | 131 ++++++++--------------------
 docs/qmp-commands.txt      |  24 ++----
 qapi/block-core.json       |  30 ++-----
 tests/qemu-iotests/041     |  71 +++++++--------
 tests/qemu-iotests/067     |   6 +-
 tests/qemu-iotests/067.out | 211 +++++++++++++++++++++++++++------------------
 tests/qemu-iotests/071     |   8 +-
 tests/qemu-iotests/081     |   2 +-
 tests/qemu-iotests/085.out |   6 +-
 tests/qemu-iotests/087     |  62 ++-----------
 tests/qemu-iotests/087.out |   6 +-
 tests/qemu-iotests/117     |   4 +-
 tests/qemu-iotests/118     |   6 +-
 tests/qemu-iotests/124     |  17 ++--
 tests/qemu-iotests/139     | 178 ++++++++++++--------------------------
 tests/qemu-iotests/139.out |   4 +-
 tests/qemu-iotests/141     |  24 +++---
 tests/qemu-iotests/141.out |  24 +++---
 18 files changed, 324 insertions(+), 490 deletions(-)
Signature · 1 line
1.8.3.1