aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-12-07 21:37:03 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-07 16:34:33 -0600
commitb086838090e32e05a60b21c2cabca8098c1562c4 (patch)
tree57fb2e2825bdf0e68a364a9c2fc35cc9acf4bcbf /qerror.h
parente16a18122212e86b87a0ca1dd79269918c7dc667 (diff)
downloadqemu-b086838090e32e05a60b21c2cabca8098c1562c4.zip
qemu-b086838090e32e05a60b21c2cabca8098c1562c4.tar.gz
qemu-b086838090e32e05a60b21c2cabca8098c1562c4.tar.bz2
QError: New QERR_DEVICE_LOCKED
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 062c0c4..be6cd68 100644
--- a/qerror.h
+++ b/qerror.h
@@ -44,6 +44,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_DEVICE_ENCRYPTED \
"{ 'class': 'DeviceEncrypted', 'data': { 'device': %s } }"
+#define QERR_DEVICE_LOCKED \
+ "{ 'class': 'DeviceLocked', 'data': { 'device': %s } }"
+
#define QERR_DEVICE_NOT_ACTIVE \
"{ 'class': 'DeviceNotActive', 'data': { 'device': %s } }"