diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2011-03-07 17:05:04 +0800 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-06-01 11:42:25 -0300 |
commit | 4c5a1e4db7c68b0e7edf5687dc10beeb776bad9f (patch) | |
tree | 90684ca41be7ba6e87e3d827230862dd2c5e1bae /qerror.c | |
parent | 578c7b2ca8ee9e97fa8693b1a83d517e8e3f962e (diff) |
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.c')
-rw-r--r-- | qerror.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -201,6 +201,10 @@ static const QErrorStringTable qerror_table[] = { .desc = "An undefined error has ocurred", }, { + .error_fmt = QERR_UNSUPPORTED, + .desc = "this feature or command is not currently supported", + }, + { .error_fmt = QERR_UNKNOWN_BLOCK_FORMAT_FEATURE, .desc = "'%(device)' uses a %(format) feature which is not " "supported by this qemu version: %(feature)", |