summaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-12-07 21:36:59 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-07 16:34:32 -0600
commit59050228e9f31e3833582a8ba060da5ae19f045b (patch)
treea48dcc60efe8cd4e15a90fbcd876ed01f73ec901 /qerror.h
parent99aa3a3852d29df130e6957924060f7da3ea2523 (diff)
downloadqemu-59050228e9f31e3833582a8ba060da5ae19f045b.tar.gz
qemu-59050228e9f31e3833582a8ba060da5ae19f045b.tar.bz2
qemu-59050228e9f31e3833582a8ba060da5ae19f045b.zip
QError: new class for device encrypted errors
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qerror.h b/qerror.h
index 5198adf14c..c9fcf973f3 100644
--- a/qerror.h
+++ b/qerror.h
@@ -41,6 +41,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_COMMAND_NOT_FOUND \
"{ 'class': 'CommandNotFound', 'data': { 'name': %s } }"
+#define QERR_DEVICE_ENCRYPTED \
+ "{ 'class': 'DeviceEncrypted', 'data': { 'device': %s } }"
+
#define QERR_DEVICE_NOT_FOUND \
"{ 'class': 'DeviceNotFound', 'data': { 'device': %s } }"