diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-08-06 15:49:34 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-08-13 13:20:31 -0300 |
commit | eef5ad1086403d8ac8d91208a0e8dc34734b671c (patch) | |
tree | 6732856b9a4fe9726488d43f1b08462c6c159c8e /fsdev | |
parent | 8b7f6fbbdc5545f749864fdf295f2fae14c7ef0a (diff) | |
download | qemu-eef5ad1086403d8ac8d91208a0e8dc34734b671c.zip qemu-eef5ad1086403d8ac8d91208a0e8dc34734b671c.tar.gz qemu-eef5ad1086403d8ac8d91208a0e8dc34734b671c.tar.bz2 |
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 'fsdev')
0 files changed, 0 insertions, 0 deletions