diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-12-07 21:37:16 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-07 16:34:36 -0600 |
commit | 77e595e7c613c495714d04ce63fb9bce263c29ae (patch) | |
tree | 9c2abb8fae39552e97e8bb965961b24be557f1d9 /monitor.c | |
parent | 7cdfcfe18f0a9e8603e4a14770a84eb5649521c5 (diff) | |
download | qemu-77e595e7c613c495714d04ce63fb9bce263c29ae.tar.gz qemu-77e595e7c613c495714d04ce63fb9bce263c29ae.tar.bz2 qemu-77e595e7c613c495714d04ce63fb9bce263c29ae.zip |
QMP: add human-readable description to error response
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -305,6 +305,7 @@ static void monitor_protocol_emitter(Monitor *mon, QObject *data) } } else { /* error response */ + qdict_put(mon->error->error, "desc", qerror_human(mon->error)); qdict_put(qmp, "error", mon->error->error); QINCREF(mon->error->error); QDECREF(mon->error); |