mirror of https://github.com/xemu-project/xemu.git
qapi: fix example of UNPLUG_PRIMARY event
Example output lacks mandatory member @timestamp. Provide it. Example output is not properly formatted. Fixing it by: - Adding '<-' to signalize it is receiving the data; - Breaking lines similar to the other examples. Signed-off-by: Victor Toso <victortoso@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-Id: <20220328140604.41484-8-victortoso@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
dba673b9ab
commit
0df5e9a301
|
@ -1736,7 +1736,9 @@
|
|||
# Since: 4.2
|
||||
#
|
||||
# Example:
|
||||
# {"event": "UNPLUG_PRIMARY", "data": {"device-id": "hostdev0"} }
|
||||
# <- { "event": "UNPLUG_PRIMARY",
|
||||
# "data": { "device-id": "hostdev0" },
|
||||
# "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
|
||||
#
|
||||
##
|
||||
{ 'event': 'UNPLUG_PRIMARY',
|
||||
|
|
Loading…
Reference in New Issue