commit | 903a881481745584b538591ea4db92bca7156956 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Tue Dec 13 17:18:30 2011 -0200 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Wed Jan 18 10:23:39 2012 -0200 |
tree | 3783956130fc561836015076ee28a37ef9bff3eb | |
parent | 270b243f91cdae380eb02396e57452c15dbcef86 [diff] [blame] |
qerror: Extend QERR_DEVICE_ENCRYPTED Include the name of the encrypted file. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
diff --git a/qmp.c b/qmp.c index f218485..9c9ea62 100644 --- a/qmp.c +++ b/qmp.c
@@ -135,7 +135,8 @@ Error **err = opaque; if (!error_is_set(err) && bdrv_key_required(bs)) { - error_set(err, QERR_DEVICE_ENCRYPTED, bdrv_get_device_name(bs)); + error_set(err, QERR_DEVICE_ENCRYPTED, bdrv_get_device_name(bs), + bdrv_get_encrypted_filename(bs)); } }