]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Make error reporting for QEMU JSON mode more friendly
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 12 Feb 2010 16:45:11 +0000 (16:45 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 16 Feb 2010 14:33:23 +0000 (14:33 +0000)
commitb6b8009548f77a1da72bca21e4641c21f0cd6746
treeb26cc39d05b99c12dfda290ba33f6385f3378a01
parent5d72a8944264bef63f490d1bd602fca1aea4be2c
Make error reporting for QEMU JSON mode more friendly

Current error reporting for JSON mode returns the full JSON
command string and full JSON error string. This is not very
user friendly, so this change makes the error report only
contain the basic command name, and friendly error message
description string. The full JSON data is logged instead.

* src/qemu/qemu_monitor_json.c: Always return the 'desc' field from
  the JSON error message to users.
src/qemu/qemu_monitor_json.c