qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* QMP and the 'id' parameter
@ 2020-11-10  1:47 John Snow
  2020-11-10  6:22 ` Markus Armbruster
  0 siblings, 1 reply; 11+ messages in thread
From: John Snow @ 2020-11-10  1:47 UTC (permalink / raw)
  To: Markus Armbruster; +Cc: QEMU Developers

The QMP specification states:

 > NOTE: Some errors can occur before the Server is able to read the "id"
 > member, in these cases the "id" member will not be part of the error
 > response, even if provided by the client.

I am assuming this case ONLY occurs for Parse errors:

{'class': 'GenericError', 'desc': 'JSON parse error, expecting value'}

And I am assuming, in the context of a client that /always/ sets an 'id' 
for its execute statements, that this means that any error response we 
receive without an 'id' field *must* be associated with the 
most-recently-sent command.

Correct?

--js



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-11-30 18:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-10  1:47 QMP and the 'id' parameter John Snow
2020-11-10  6:22 ` Markus Armbruster
2020-11-10  9:15   ` Daniel P. Berrangé
2020-11-10 10:27     ` Markus Armbruster
2020-11-10 16:32   ` John Snow
2020-11-11  8:27     ` Markus Armbruster
2020-11-20  0:22       ` John Snow
2020-11-20 10:25         ` Markus Armbruster
2020-11-20 16:49           ` John Snow
2020-11-23  6:57             ` Markus Armbruster
2020-11-30 18:32               ` John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).