Skip to content

block: Configuration fixes and rbd authentication

Markus Armbruster qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 3 repliesApplied
  2. v118 patches 13 repliesSuperseded

Changes in v2 from the cover letter

* PATCH 03+05: Fix typos and pastos in commit message [Kevin]
* PATCH 09: Fix error handling [Kevin]
* PATCH 12: Redo for clarity [Kevin]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/18rbd: Drop deprecated -drive parameter "filename"block/rbd.c+0 -160 replies
2/18iscsi: Drop deprecated -drive parameter "filename"block/iscsi.c+2 -210 replies
3/18block: Add block-specific QDict headerblock.c block/gluster.c block/iscsi.c +23 more+56 -170 replies
4/18qobject: Move block-specific qdict code to block-qdict.cMAINTAINERS qobject/Makefile.objs qobject/block-qdict.c +4 more+1302 -12710 replies
5/18block: Fix -blockdev for certain non-string scalarsblock/nfs.c block/parallels.c block/qcow.c +8 more+67 -90 replies
6/18block: Fix -drive for certain non-string scalarsblock/nbd.c block/sheepdog.c block/ssh.c+6 -300 replies
7/18block: Clean up a misuse of qobject_to() in .bdrv_co_create_opts()block/parallels.c block/qcow.c block/qcow2.c +3 more+24 -300 replies
8/18block: Factor out qobject_input_visitor_new_flat_confused()block/nbd.c block/nfs.c block/parallels.c +10 more+53 -620 replies
9/18block: Make remaining uses of qobject input visitor more robustblock/crypto.c block/vdi.c+15 -52 replies
10/18block-qdict: Simplify qdict_flatten_qdict()qobject/block-qdict.c+3 -150 replies
11/18block-qdict: Tweak qdict_flatten_qdict(), qdict_flatten_qlist()qobject/block-qdict.c+9 -50 replies
12/18block-qdict: Clean up qdict_crumple() a bitqobject/block-qdict.c+16 -160 replies
13/18block-qdict: Simplify qdict_is_list() someqobject/block-qdict.c+11 -160 replies
14/18check-block-qdict: Rename qdict_flatten()'s variables for claritytests/check-block-qdict.c+29 -280 replies
15/18check-block-qdict: Cover flattening of empty lists and dictionariestests/check-block-qdict.c+13 -10 replies
16/18block: Fix -blockdev / blockdev-add for empty objects and arraysqobject/block-qdict.c tests/check-block-qdict.c+63 -290 replies
17/18rbd: New parameter auth-client-requiredblock/rbd.c qapi/block-core.json+45 -100 replies
18/18rbd: New parameter key-secretblock/rbd.c qapi/block-core.json+31 -160 replies

Reviews trailers per patch

16 of 18 patches have a Reviewed-by or Acked-by.

PatchKevin Wolf
1/18R-b
2/18R-b
3/18R-b
4/18R-b
5/18R-b
6/18R-b
7/18R-b
8/18R-b
9/18
10/18R-b
11/18R-b
12/18
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 00/18] block: Configuration fixes and rbd authentication

PATCH 01-17 are configuration fixes and cleanup, in particular -blockdev driver=nfs,... and -drive driver=(nbd|sheepdog|ssh),... with non-string scalars.

PATCH 18-19 provide support for configuring rbd authentication.

I'm happy to split the series if that helps.

Jeff Cody tested the RFC on his Ceph rig. All results match expectations. Since code changes since then have been minimal, I believe his test results remain valid.

v2:
* PATCH 03+05: Fix typos and pastos in commit message [Kevin]
* PATCH 09: Fix error handling [Kevin]
* PATCH 12: Redo for clarity [Kevin]

Markus Armbruster (17):
rbd: Drop deprecated -drive parameter "filename"
iscsi: Drop deprecated -drive parameter "filename"
qobject: Move block-specific qdict code to block-qdict.c
block: Fix -blockdev for certain non-string scalars
block: Fix -drive for certain non-string scalars
block: Clean up a misuse of qobject_to() in .bdrv_co_create_opts()
block: Factor out qobject_input_visitor_new_flat_confused()
block: Make remaining uses of qobject input visitor more robust
block-qdict: Simplify qdict_flatten_qdict()
block-qdict: Tweak qdict_flatten_qdict(), qdict_flatten_qlist()
block-qdict: Clean up qdict_crumple() a bit
block-qdict: Simplify qdict_is_list() some
check-block-qdict: Rename qdict_flatten()'s variables for clarity
check-block-qdict: Cover flattening of empty lists and dictionaries
block: Fix -blockdev / blockdev-add for empty objects and arrays
rbd: New parameter auth-client-required
rbd: New parameter key-secret

Max Reitz (1):
block: Add block-specific QDict header

 MAINTAINERS               |   2 +
 block.c                   |   1 +
 block/crypto.c            |  12 +-
 block/gluster.c           |   1 +
 block/iscsi.c             |  24 +-
 block/nbd.c               |  16 +-
 block/nfs.c               |   8 +-
 block/parallels.c         |  11 +-
 block/qcow.c              |  11 +-
 block/qcow2.c             |  11 +-
 block/qed.c               |  11 +-
 block/quorum.c            |   1 +
 block/rbd.c               |  85 +++--
 block/sheepdog.c          |  23 +-
 block/snapshot.c          |   1 +
 block/ssh.c               |  16 +-
 block/vdi.c               |   8 +-
 block/vhdx.c              |  11 +-
 block/vpc.c               |  11 +-
 block/vvfat.c             |   1 +
 block/vxhs.c              |   1 +
 blockdev.c                |   1 +
 include/block/qdict.h     |  34 ++
 include/qapi/qmp/qdict.h  |  17 -
 qapi/block-core.json      |  19 +
 qobject/Makefile.objs     |   1 +
 qobject/block-qdict.c     | 722 ++++++++++++++++++++++++++++++++++++++
 qobject/qdict.c           | 628 ---------------------------------
 tests/Makefile.include    |   4 +
 tests/check-block-qdict.c | 690 ++++++++++++++++++++++++++++++++++++
 tests/check-qdict.c       | 641 ---------------------------------
 tests/check-qobject.c     |   1 +
 tests/test-replication.c  |   1 +
 util/qemu-config.c        |   1 +
 34 files changed, 1587 insertions(+), 1439 deletions(-)
 create mode 100644 include/block/qdict.h
 create mode 100644 qobject/block-qdict.c
 create mode 100644 tests/check-block-qdict.c
Signature · 1 line
2.17.1