]> git.proxmox.com Git - qemu.git/commit - hmp.c
hmp: hmp_cont(): don't rely on QERR_DEVICE_ENCRYPTED
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 26 Jul 2012 23:41:53 +0000 (20:41 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 13 Aug 2012 16:20:12 +0000 (13:20 -0300)
commit8b7f6fbbdc5545f749864fdf295f2fae14c7ef0a
treef69c7d16ee13b9288d0f6ccaba23a346174d3ae7
parentc75a1a8a5a34ef10f704c521c475a6dd4de5e887
hmp: hmp_cont(): don't rely on QERR_DEVICE_ENCRYPTED

This commit changes hmp_cont() to loop through all block devices
and proactively set an encryption key for any encrypted device
missing a key.

This change is needed because QERR_DEVICE_ENCRYPTED is going to be
dropped by a future commit.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hmp.c