Re: [libvirt] [PATCH] qemu_agent: Produce more readable error messages

2014-10-28 Thread Michal Privoznik
On 28.10.2014 16:09, Eric Blake wrote: On 10/27/2014 08:59 PM, Michal Privoznik wrote: Not every error message from qemu-ga has to have the 'class' field filled out. For instance, I've seen this error message lately: Is that a bug in qemu-ga? Worth asking on the qemu list. But we have to dea

Re: [libvirt] [PATCH] qemu_agent: Produce more readable error messages

2014-10-28 Thread Eric Blake
On 10/27/2014 08:59 PM, Michal Privoznik wrote: > Not every error message from qemu-ga has to have the 'class' field > filled out. For instance, I've seen this error message lately: Is that a bug in qemu-ga? Worth asking on the qemu list. But we have to deal with it in the meantime, so this patc

[libvirt] [PATCH] qemu_agent: Produce more readable error messages

2014-10-27 Thread Michal Privoznik
Not every error message from qemu-ga has to have the 'class' field filled out. For instance, I've seen this error message lately: qemuAgentCheckError:1047 : unable to execute QEMU agent command \ {"execute":"guest-set-time"}: \ {"error":{"desc":"Invalid parameter type, expected: integer"}}