« Previous | Next » 

Revision 0d1ea871

ID0d1ea871b09fc74b4a2085150980b43bd1973744

Added by Luiz Capitulino over 14 years ago

QMP: Asynchronous events infrastructure

Asynchronous events are generated with a call to
monitor_protocol_event().

This function builds the right data-type and emit the event
right away. The emitted data is always a JSON object and its
format is as follows:

{ "event": json-string,
"timestamp": { "seconds": json-number, "microseconds": json-number },
"data": json-value }

This design is based on ideas by Amit Shah <>.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences