qapi: fix example of DEVICE_UNPLUG_GUEST_ERROR event

Example output is missing a ',' delimiter and it has an extra ending
curly bracket. Fix it.

Problem was noticed when trying to load the example into python's json
library.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Message-Id: <20220901085840.22520-7-victortoso@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Victor Toso 2022-09-01 10:58:36 +02:00 committed by Markus Armbruster
parent dac318d3df
commit 0cd5a5e9c9

View File

@ -150,10 +150,9 @@
# #
# Example: # Example:
# #
# <- { "event": "DEVICE_UNPLUG_GUEST_ERROR" # <- { "event": "DEVICE_UNPLUG_GUEST_ERROR",
# "data": { "device": "core1", # "data": { "device": "core1",
# "path": "/machine/peripheral/core1" }, # "path": "/machine/peripheral/core1" },
# },
# "timestamp": { "seconds": 1615570772, "microseconds": 202844 } } # "timestamp": { "seconds": 1615570772, "microseconds": 202844 } }
# #
## ##