block/core: add generic infrastructure for x-blockdev-amend qmp command
commitced914d0ab9fb2c900f873f6349a0b8eecd1fdbe
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 25 Jun 2020 12:55:45 +0000 (25 14:55 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 6 Jul 2020 06:49:28 +0000 (6 08:49 +0200)
tree651ec691a6528c21cb9aed02589cd7843cb3abde
parent11d80bfc6da00d8b53bf1cc2da19b4a2e0b23961
block/core: add generic infrastructure for x-blockdev-amend qmp command

blockdev-amend will be used similiar to blockdev-create
to allow on the fly changes of the structure of the format based block devices.

Current plan is to first support encryption keyslot management for luks
based formats (raw and embedded in qcow2)

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200608094030.670121-12-mlevitsk@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/Makefile.objs
block/amend.c [new file with mode: 0644]
include/block/block_int.h
qapi/block-core.json
qapi/job.json