summaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-12-13 17:18:30 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2012-01-18 10:23:39 -0200
commit903a881481745584b538591ea4db92bca7156956 (patch)
tree3783956130fc561836015076ee28a37ef9bff3eb /qerror.h
parent270b243f91cdae380eb02396e57452c15dbcef86 (diff)
downloadqemu-903a881481745584b538591ea4db92bca7156956.tar.gz
qemu-903a881481745584b538591ea4db92bca7156956.tar.bz2
qemu-903a881481745584b538591ea4db92bca7156956.zip
qerror: Extend QERR_DEVICE_ENCRYPTED
Include the name of the encrypted file. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qerror.h b/qerror.h
index efda232db3..27800fe10f 100644
--- a/qerror.h
+++ b/qerror.h
@@ -70,7 +70,7 @@ QError *qobject_to_qerror(const QObject *obj);
"{ 'class': 'CommandDisabled', 'data': { 'name': %s } }"
#define QERR_DEVICE_ENCRYPTED \
- "{ 'class': 'DeviceEncrypted', 'data': { 'device': %s } }"
+ "{ 'class': 'DeviceEncrypted', 'data': { 'device': %s, 'filename': %s } }"
#define QERR_DEVICE_INIT_FAILED \
"{ 'class': 'DeviceInitFailed', 'data': { 'device': %s } }"