Skip to content

Allow custom backing-file string in commit/stream

Jeff Cody qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v7 Latest4 patches 6 repliesIn review

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: add helper function to determine if a BDS is in a chainblock.c include/block/block.h+12 -01 reply
2/4block: extend block-commit to accept a string for the backing fileblock.c block/commit.c blockdev.c +4 more+59 -111 reply
3/4block: add backing-file option to block-streamblock/stream.c blockdev.c hmp.c +2 more+43 -140 replies
4/4block: add QAPI command to allow live backing file changeblockdev.c qapi/block-core.json qmp-commands.hx+236 -07 replies

Reviews trailers per patch

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

PatchBenoit CanetEric BlakeKevin Wolf
1/4R-b R-b R-b
2/4R-b R-b
3/4R-b
4/4R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [Qemu-devel] [PATCH v7 for 2.1 0/4] Allow custom backing-file string in commit/stream

This is part 2 of a split of "Modify block jobs to use node-names".

These patches add a helper function, allow block-commit and block-stream to change backing files, and adds a standalone API to change backing files.

The api to change backing files relies still on the "check active layer blocker" workaround on blockers.

Jeff Cody (4):
block: add helper function to determine if a BDS is in a chain
block: extend block-commit to accept a string for the backing file
block: add backing-file option to block-stream
block: add QAPI command to allow live backing file change

 block.c                   |  19 ++++++-
 block/commit.c            |   9 ++--
 block/stream.c            |  11 ++--
 blockdev.c                | 133 ++++++++++++++++++++++++++++++++++++++++++++--
 hmp.c                     |   2 +-
 include/block/block.h     |   4 +-
 include/block/block_int.h |   3 +-
 qapi/block-core.json      |  99 ++++++++++++++++++++++++++++++++--
 qmp-commands.hx           |  95 ++++++++++++++++++++++++++++++++-
 9 files changed, 350 insertions(+), 25 deletions(-)
Signature · 1 line
1.9.3