diff options
author | 2012-08-06 15:49:34 -0300 | |
---|---|---|
committer | 2012-08-13 13:20:31 -0300 | |
commit | eef5ad1086403d8ac8d91208a0e8dc34734b671c (patch) | |
tree | 6732856b9a4fe9726488d43f1b08462c6c159c8e /scripts/qapi-types.py | |
parent | hmp: hmp_cont(): don't rely on QERR_DEVICE_ENCRYPTED (diff) | |
download | qemu-eef5ad1086403d8ac8d91208a0e8dc34734b671c.tar.xz qemu-eef5ad1086403d8ac8d91208a0e8dc34734b671c.zip |
hmp_change(): don't access DeviceEncrypted's data
It's not needed. As the device name is already known, we can replace
the duplicated password prompting code by monitor_read_block_device_key().
This overly simplifies hmp_change().
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions