RFC block: Configuration fixes and rbd authentication
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest19 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | rbd: Drop deprecated -drive parameter "filename"block/ | +0 | 0 replies | |
| 2/19 | iscsi: Drop deprecated -drive parameter "filename"block/ | +2 | 0 replies | |
| 3/19 | block: Add block-specific QDict headerblock.c block/ block/ +23 more | +59 | 0 replies | |
| 4/19 | fixup block: Add block-specific QDict headerinclude/ | +1 | 0 replies | |
| 5/19 | qobject: Move block-specific qdict code to block-qdict.cMAINTAINERS qobject/ qobject/ +4 more | +1302 | 0 replies | |
| 6/19 | block: Fix -blockdev for certain non-string scalarsblock/ block/ block/ +8 more | +67 | 3 replies | |
| 7/19 | block: Fix -drive for certain non-string scalarsblock/ block/ block/ | +6 | 0 replies | |
| 8/19 | block: Clean up a misuse of qobject_to() in .bdrv_co_create_opts()block/ block/ block/ +3 more | +24 | 0 replies | |
| 9/19 | block: Factor out qobject_input_visitor_new_flat_confused()block/ block/ block/ +10 more | +53 | 0 replies | |
| 10/19 | block: Make remaining uses of qobject input visitor more robustblock/ block/ | +5 | 2 replies | |
| 11/19 | block-qdict: Simplify qdict_flatten_qdict()qobject/ | +3 | 0 replies | |
| 12/19 | block-qdict: Tweak qdict_flatten_qdict(), qdict_flatten_qlist()qobject/ | +9 | 0 replies | |
| 13/19 | block-qdict: Clean up qdict_crumple() a bitqobject/ | +21 | 0 replies | |
| 14/19 | block-qdict: Simplify qdict_is_list() someqobject/ | +11 | 0 replies | |
| 15/19 | check-block-qdict: Rename qdict_flatten()'s variables for claritytests/ | +29 | 0 replies | |
| 16/19 | check-block-qdict: Cover flattening of empty lists and dictionariestests/ | +13 | 0 replies | |
| 17/19 | block: Fix -blockdev / blockdev-add for empty objects and arraysqobject/ tests/ | +63 | 0 replies | |
| 18/19 | rbd: New parameter auth-client-requiredblock/ qapi/ | +43 | 0 replies | |
| 19/19 | rbd: New parameter key-secretblock/ qapi/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [RFC PATCH 00/19] block: Configuration fixes and rbd authentication
This series is RFC because:
* It clashes with parts of Max's "[PATCH 00/13] block: Try to create well typed json:{} filenames". I missed that one until too late, sorry.
- I stole "[PATCH 06/13] block: Add block-specific QDict header", and tacked on fixups I'd like to have.
- My qobject_input_visitor_new_flat_confused() addresses the same general problem as Max's qdict_stringify_for_keyval(): the block layer's confused use of QObject types. My solution fixes a number of bugs in -blockdev, blockdev-add and -drive. If Max's solution adds further value, we need to merge the two somehow.
- I changed qdict_flatten() to fix -blockdev and blockdev-add for empty objects and arrays. Max fixed it to not mess up shallow clones. We need to merge the two.
* Rbd testing is incomplete. Jeff Cody volunteered to test on his rig. Results should be in soon.
Perhaps the series should be split in two: PATCH 01-17 are configuration fixes, PATCH 18-19 are rbd authentication work. I may still do that for the non-RFC patch submission.
Markus Armbruster (18):
rbd: Drop deprecated -drive parameter "filename"
iscsi: Drop deprecated -drive parameter "filename"
fixup block: Add block-specific QDict header
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 | 6 +- 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 | 4 +- 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 | 15 + 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, 1573 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