Skip to content

LUKS: encryption slot management using amend interface

Maxim Levitsky qemu-devel 9 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest14 patches 9 repliesApplied
  2. v714 patches 3 repliesSuperseded
  3. v614 patches 24 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v514 patches2 repliesSuperseded
v414 patches4 repliesSuperseded
v314 patches2 repliesSuperseded
v2 posting 2/214 patches19 repliesSuperseded
v2 posting 1/214 patches0 repliesSuperseded
v113 patches68 repliesSuperseded

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/14qcrypto/core: add generic infrastructure for crypto options amendmentblock/crypto.c block/crypto.h crypto/block.c +3 more+95 -00 replies
2/14qcrypto/luks: implement encryption key managementcrypto/block-luks.c qapi/crypto.json+469 -60 replies
3/14block/amend: add 'force' optionblock.c block/qcow2.c docs/tools/qemu-img.rst +4 more+19 -50 replies
4/14block/amend: separate amend and create options for qemu-imgblock/qcow2.c include/block/block_int.h qemu-img.c+107 -880 replies
5/14block/amend: refactor qcow2 amend optionsblock/qcow2.c qemu-img.c tests/qemu-iotests/049.out +24 more+317 -4871 reply
6/14block/crypto: rename two functionsblock/crypto.c+12 -130 replies
7/14block/crypto: implement the encryption key managementblock/crypto.c block/crypto.h+161 -32 replies
8/14block/qcow2: extend qemu-img amend interface with crypto optionsblock/qcow2.c tests/qemu-iotests/082.out+107 -90 replies
9/14iotests: filter few more luks specific create optionstests/qemu-iotests/087.out tests/qemu-iotests/134.out tests/qemu-iotests/158.out +6 more+20 -180 replies
10/14iotests: qemu-img tests for luks key managementtests/qemu-iotests/293 tests/qemu-iotests/293.out tests/qemu-iotests/294 +2 more+428 -00 replies
11/14block/core: add generic infrastructure for x-blockdev-amend qmp commandblock/Makefile.objs block/amend.c include/block/block_int.h +2 more+174 -85 replies
12/14block/crypto: implement blockdev-amendblock/crypto.c qapi/block-core.json+66 -200 replies
13/14block/qcow2: implement blockdev-amendblock/qcow2.c qapi/block-core.json+54 -10 replies
14/14iotests: add tests for blockdev-amendtests/qemu-iotests/295 tests/qemu-iotests/295.out tests/qemu-iotests/296 +2 more+588 -00 replies

Reviews trailers per patch

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

PatchDaniel P. BerrangéMax Reitz
1/14R-b
2/14R-b
3/14R-b R-b
4/14R-b R-b
5/14R-b
6/14R-b
7/14R-b R-b
8/14R-b R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b R-b
13/14R-b R-b
14/14R-b

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

Read the v8 thread

Cover letter [PATCH v8 00/14] LUKS: encryption slot management using amend interface

clone of "luks-keymgmnt-v2"

Maxim Levitsky (14):
qcrypto/core: add generic infrastructure for crypto options amendment qcrypto/luks: implement encryption key management block/amend: add 'force' option
block/amend: separate amend and create options for qemu-img block/amend: refactor qcow2 amend options
block/crypto: rename two functions
block/crypto: implement the encryption key management block/qcow2: extend qemu-img amend interface with crypto options
iotests: filter few more luks specific create options
iotests: qemu-img tests for luks key management block/core: add generic infrastructure for x-blockdev-amend qmp
command
block/crypto: implement blockdev-amend
block/qcow2: implement blockdev-amend
iotests: add tests for blockdev-amend

 block.c                          |   4 +-
 block/Makefile.objs              |   2 +-
 block/amend.c                    | 113 +++++++++
 block/crypto.c                   | 206 +++++++++++++--
 block/crypto.h                   |  37 +++
 block/qcow2.c                    | 332 +++++++++++++-----------
 crypto/block-luks.c              | 416 ++++++++++++++++++++++++++++++-
 crypto/block.c                   |  29 +++
 crypto/blockpriv.h               |   8 +
 docs/tools/qemu-img.rst          |   5 +-
 include/block/block.h            |   1 +
 include/block/block_int.h        |  24 +-
 include/crypto/block.h           |  22 ++
 qapi/block-core.json             |  68 +++++
 qapi/crypto.json                 |  73 +++++-
 qapi/job.json                    |   4 +-
 qemu-img-cmds.hx                 |   4 +-
 qemu-img.c                       |  44 +++-
 tests/qemu-iotests/049.out       | 102 ++++----
 tests/qemu-iotests/061.out       |  12 +-
 tests/qemu-iotests/079.out       |  18 +-
 tests/qemu-iotests/082.out       | 185 ++++----------
 tests/qemu-iotests/085.out       |  38 +--
 tests/qemu-iotests/087.out       |   6 +-
 tests/qemu-iotests/115.out       |   2 +-
 tests/qemu-iotests/121.out       |   4 +-
 tests/qemu-iotests/125.out       | 192 +++++++-------
 tests/qemu-iotests/134.out       |   2 +-
 tests/qemu-iotests/144.out       |   4 +-
 tests/qemu-iotests/158.out       |   4 +-
 tests/qemu-iotests/182.out       |   2 +-
 tests/qemu-iotests/185.out       |   8 +-
 tests/qemu-iotests/188.out       |   2 +-
 tests/qemu-iotests/189.out       |   4 +-
 tests/qemu-iotests/198.out       |   4 +-
 tests/qemu-iotests/243.out       |  16 +-
 tests/qemu-iotests/250.out       |   2 +-
 tests/qemu-iotests/255.out       |   8 +-
 tests/qemu-iotests/259.out       |   2 +-
 tests/qemu-iotests/263.out       |   4 +-
 tests/qemu-iotests/274.out       |  46 ++--
 tests/qemu-iotests/280.out       |   2 +-
 tests/qemu-iotests/284.out       |   6 +-
 tests/qemu-iotests/293           | 207 +++++++++++++++
 tests/qemu-iotests/293.out       |  99 ++++++++
 tests/qemu-iotests/294           |  90 +++++++
 tests/qemu-iotests/294.out       |  30 +++
 tests/qemu-iotests/295           | 279 +++++++++++++++++++++
 tests/qemu-iotests/295.out       |  40 +++
 tests/qemu-iotests/296           | 234 +++++++++++++++++
 tests/qemu-iotests/296.out       |  33 +++
 tests/qemu-iotests/common.filter |   6 +-
 tests/qemu-iotests/group         |   4 +
 53 files changed, 2524 insertions(+), 565 deletions(-)
 create mode 100644 block/amend.c
 create mode 100755 tests/qemu-iotests/293
 create mode 100644 tests/qemu-iotests/293.out
 create mode 100755 tests/qemu-iotests/294
 create mode 100644 tests/qemu-iotests/294.out
 create mode 100755 tests/qemu-iotests/295
 create mode 100644 tests/qemu-iotests/295.out
 create mode 100755 tests/qemu-iotests/296
 create mode 100644 tests/qemu-iotests/296.out
Signature · 1 line
2.25.4