mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
block: Remove monitor command block_passwd
Command block_passwd always fails since Commitc01c214b69
"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. Commitad1324e044
"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>
This commit is contained in:
@ -1493,21 +1493,6 @@ SRST
|
||||
used by another monitor command.
|
||||
ERST
|
||||
|
||||
{
|
||||
.name = "block_passwd",
|
||||
.args_type = "device:B,password:s",
|
||||
.params = "block_passwd device password",
|
||||
.help = "set the password of encrypted block devices",
|
||||
.cmd = hmp_block_passwd,
|
||||
},
|
||||
|
||||
SRST
|
||||
``block_passwd`` *device* *password*
|
||||
Set the encrypted device *device* password to *password*
|
||||
|
||||
This command is now obsolete and will always return an error since 2.10
|
||||
ERST
|
||||
|
||||
{
|
||||
.name = "block_set_io_throttle",
|
||||
.args_type = "device:B,bps:l,bps_rd:l,bps_wr:l,iops:l,iops_rd:l,iops_wr:l",
|
||||
|
Reference in New Issue
Block a user