aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-11-18 23:05:35 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:21 -0600
commit82a60711dd5857ec79effd8ef4a2c29bf42540c0 (patch)
tree615ee0760da55fcc88670d498817fe16dc0072e8 /qerror.h
parent055f6122a6b6886348154bb8bef8dd022501c705 (diff)
QError: Add QERR_KVM_MISSING_CAP
New class for KVM unavailable features errors. Signed-off-by: Luiz Capitulino <lcapitulino@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 c1be8b96e4..6c100afc29 100644
--- a/qerror.h
+++ b/qerror.h
@@ -44,4 +44,7 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_DEVICE_NOT_ACTIVE \
"{ 'class': 'DeviceNotActive', 'data': { 'device': %s } }"
+#define QERR_KVM_MISSING_CAP \
+ "{ 'class': 'KVMMissingCap', 'data': { 'capability': %s, 'feature': %s } }"
+
#endif /* QERROR_H */