From cdc94a1b3e7e2616363ee837dea1724062370669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:27:18 +0200 Subject: qmp-events: move 'DEVICE_DELETED' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- qapi/event.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'qapi/event.json') diff --git a/qapi/event.json b/qapi/event.json index 43d27ecbeb..55ed7ec3c4 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -191,6 +191,14 @@ # @path: device path # # Since: 1.5 +# +# Example: +# +# <- { "event": "DEVICE_DELETED", +# "data": { "device": "virtio-net-pci-0", +# "path": "/machine/peripheral/virtio-net-pci-0" }, +# "timestamp": { "seconds": 1265044230, "microseconds": 450486 } } +# ## { 'event': 'DEVICE_DELETED', 'data': { '*device': 'str', 'path': 'str' } } -- cgit v1.2.3