[Qemu-devel] [PATCH 30/35] qemu-ga: switch to the new error format on the wire

2012-08-10 Thread Luiz Capitulino
IMPORTANT: this BREAKS qemu-ga compatibility for the error response. Instead of returning something like: { "error": { "class": "InvalidParameterValue", "data": {"name": "mode", "expected": "halt|powerdown|reboot" } } } qemu-ga now returns: { "error": { "class": "GenericError",

[Qemu-devel] [PATCH 30/35] qemu-ga: switch to the new error format on the wire

2012-08-07 Thread Luiz Capitulino
IMPORTANT: this BREAKS qemu-ga compatibility for the error response. Instead of returning something like: { "error": { "class": "InvalidParameterValue", "data": {"name": "mode", "expected": "halt|powerdown|reboot" } } } qemu-ga now returns: { "error": { "class": "GenericError",