aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-02-19 18:53:17 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2021-03-18 09:22:55 +0000
commitad1324e044240ae9fcf67e4c215481b7a35591b9 (patch)
tree98e4ae25852e5a4945ba3e4e328b3a627af87c2d /block
parent879be3af49132d232602e0ca783ec9b4112530fa (diff)
downloadqemu-ad1324e044240ae9fcf67e4c215481b7a35591b9.zip
qemu-ad1324e044240ae9fcf67e4c215481b7a35591b9.tar.gz
qemu-ad1324e044240ae9fcf67e4c215481b7a35591b9.tar.bz2
block: remove 'encryption_key_missing' flag from QAPI
This has been hardcoded to "false" since 2.10.0, since secrets required to unlock block devices are now always provided up front instead of using interactive prompts. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/qapi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/qapi.c b/block/qapi.c
index 84a0aad..3acc118 100644
--- a/block/qapi.c
+++ b/block/qapi.c
@@ -62,7 +62,6 @@ BlockDeviceInfo *bdrv_block_device_info(BlockBackend *blk,
info->ro = bs->read_only;
info->drv = g_strdup(bs->drv->format_name);
info->encrypted = bs->encrypted;
- info->encryption_key_missing = false;
info->cache = g_new(BlockdevCacheInfo, 1);
*info->cache = (BlockdevCacheInfo) {