block: Remove monitor command block_passwd
commitbdabafc6836edc0f34732cac473899cb4e77a296
authorMarkus Armbruster <armbru@redhat.com>
Tue, 23 Mar 2021 10:19:51 +0000 (23 11:19 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 23 Mar 2021 21:31:56 +0000 (23 22:31 +0100)
tree352a37615faf48d67cbc4b715062073c023502ff
parentd83b47646ec2bdf4f7be9c2078f1bcbbb0544b2e
block: Remove monitor command block_passwd

Command block_passwd always fails since

Commit c01c214b69 "block: remove all encryption handling APIs"
(v2.10.0) turned block_passwd into a stub that always fails, and
hardcoded encryption_key_missing to false in query-named-block-nodes
and query-block.

Commit ad1324e044 "block: remove 'encryption_key_missing' flag from
QAPI" just landed.  Complete the cleanup job: remove block_passwd.

Cc: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323101951.3686029-1-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
block/monitor/block-hmp-cmds.c
blockdev.c
hmp-commands.hx
qapi/block-core.json
qapi/pragma.json