Re: Esoteric QMP specification questions of dubious importance

2021-07-13 Thread Eric Blake
On Thu, Jul 08, 2021 at 01:10:46PM +0200, Markus Armbruster wrote: > John Snow writes: > > > I'm writing a "fake" QMP server for the purposes of creating unit tests for > > the python QMP library. In doing so, I am left with some esoteric questions: > > > > > > (1) qemu-spec.txt, section 2.4.2,

Re: Esoteric QMP specification questions of dubious importance

2021-07-08 Thread Markus Armbruster
John Snow writes: > I'm writing a "fake" QMP server for the purposes of creating unit tests for > the python QMP library. In doing so, I am left with some esoteric questions: > > > (1) qemu-spec.txt, section 2.4.2, "error": > > The format of an "error response" is: > >> { "error": { "class":

Esoteric QMP specification questions of dubious importance

2021-07-02 Thread John Snow
I'm writing a "fake" QMP server for the purposes of creating unit tests for the python QMP library. In doing so, I am left with some esoteric questions: (1) qemu-spec.txt, section 2.4.2, "error": The format of an "error response" is: > { "error": { "class": json-string, "desc": json-string },