diff options
author | 2009-03-05 23:00:48 +0000 | |
---|---|---|
committer | 2009-03-05 23:00:48 +0000 | |
commit | 045df33021d11bba6ed6a9caec37f68d0c615ca1 (patch) | |
tree | ae731038091297e9fc482c8fcd0500145d089d64 /block.h | |
parent | block: Improve bdrv_iterate (Jan Kiszka) (diff) | |
download | qemu-kvm-045df33021d11bba6ed6a9caec37f68d0c615ca1.tar.gz qemu-kvm-045df33021d11bba6ed6a9caec37f68d0c615ca1.tar.bz2 qemu-kvm-045df33021d11bba6ed6a9caec37f68d0c615ca1.zip |
block: Introduce bdrv_get_encrypted_filename (Jan Kiszka)
Introduce bdrv_get_encrypted_filename service to allow more informative
password prompting.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6704 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block.h')
-rw-r--r-- | block.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -152,6 +152,7 @@ int bdrv_write_compressed(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors); int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); +const char *bdrv_get_encrypted_filename(BlockDriverState *bs); void bdrv_get_backing_filename(BlockDriverState *bs, char *filename, int filename_size); int bdrv_snapshot_create(BlockDriverState *bs, |