aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2011-03-07 17:05:04 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2011-06-01 11:42:25 -0300
commit4c5a1e4db7c68b0e7edf5687dc10beeb776bad9f (patch)
tree90684ca41be7ba6e87e3d827230862dd2c5e1bae /qerror.h
parent578c7b2ca8ee9e97fa8693b1a83d517e8e3f962e (diff)
downloadqemu-4c5a1e4db7c68b0e7edf5687dc10beeb776bad9f.zip
qemu-4c5a1e4db7c68b0e7edf5687dc10beeb776bad9f.tar.gz
qemu-4c5a1e4db7c68b0e7edf5687dc10beeb776bad9f.tar.bz2
QMP: QError: New QERR_UNSUPPORTED
New QERR_UNSUPPORTED for unsupported commands or requests. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.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 df61d2c..582b5ef 100644
--- a/qerror.h
+++ b/qerror.h
@@ -165,6 +165,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_UNDEFINED_ERROR \
"{ 'class': 'UndefinedError', 'data': {} }"
+#define QERR_UNSUPPORTED \
+ "{ 'class': 'Unsupported', 'data': {} }"
+
#define QERR_UNKNOWN_BLOCK_FORMAT_FEATURE \
"{ 'class': 'UnknownBlockFormatFeature', 'data': { 'device': %s, 'format': %s, 'feature': %s } }"