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

2012-08-03 Thread Luiz Capitulino
On Fri, 03 Aug 2012 11:56:29 -0600 Eric Blake wrote: > On 08/03/2012 11:44 AM, Michael Roth wrote: > > On Wed, Aug 01, 2012 at 10:02:50PM -0300, Luiz Capitulino wrote: > >> IMPORTANT: this BREAKS qemu-ga compatibility for the error response. > >> > >> Instead of returning something like: > >> > >

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

2012-08-03 Thread Eric Blake
On 08/03/2012 11:44 AM, Michael Roth wrote: > On Wed, Aug 01, 2012 at 10:02:50PM -0300, Luiz Capitulino wrote: >> IMPORTANT: this BREAKS qemu-ga compatibility for the error response. >> >> Instead of returning something like: >> >> { "error": { "class": "InvalidParameterValue", >> "dat

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

2012-08-03 Thread Michael Roth
On Wed, Aug 01, 2012 at 10:02:50PM -0300, Luiz Capitulino wrote: > IMPORTANT: this BREAKS qemu-ga compatibility for the error response. > > Instead of returning something like: > > { "error": { "class": "InvalidParameterValue", > "data": {"name": "mode", "expected": "halt|powerdown|r

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

2012-08-01 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",