diff options
| author | Luiz Capitulino | 2012-08-06 20:49:34 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2012-08-13 18:20:31 +0200 |
| commit | eef5ad1086403d8ac8d91208a0e8dc34734b671c (patch) | |
| tree | 6732856b9a4fe9726488d43f1b08462c6c159c8e /scripts | |
| parent | hmp: hmp_cont(): don't rely on QERR_DEVICE_ENCRYPTED (diff) | |
| download | qemu-eef5ad1086403d8ac8d91208a0e8dc34734b671c.tar.gz 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')
0 files changed, 0 insertions, 0 deletions
