diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:28:39 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | 5dbdcf43243497f5350b311aff98dcf583bfdbc2 (patch) | |
tree | 659cfec91ab5d0c584969c38ca1dc41eac3f372a | |
parent | cdc94a1b3e7e2616363ee837dea1724062370669 (diff) | |
download | qemu-5dbdcf43243497f5350b311aff98dcf583bfdbc2.zip qemu-5dbdcf43243497f5350b311aff98dcf583bfdbc2.tar.gz qemu-5dbdcf43243497f5350b311aff98dcf583bfdbc2.tar.bz2 |
qmp-events: move 'NIC_RX_FILTER_CHANGED' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r-- | docs/qmp-events.txt | 17 | ||||
-rw-r--r-- | qapi/event.json | 9 |
2 files changed, 9 insertions, 17 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index c19177d..a4323f9 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -79,23 +79,6 @@ Example: }, "timestamp": { "seconds": 1265044230, "microseconds": 450486 } } -NIC_RX_FILTER_CHANGED ---------------------- - -The event is emitted once until the query command is executed, -the first event will always be emitted. - -Data: - -- "name": net client name (json-string) -- "path": device path (json-string) - -{ "event": "NIC_RX_FILTER_CHANGED", - "data": { "name": "vnet0", - "path": "/machine/peripheral/vnet0/virtio-backend" }, - "timestamp": { "seconds": 1368697518, "microseconds": 326866 } } -} - QUORUM_FAILURE -------------- diff --git a/qapi/event.json b/qapi/event.json index 55ed7ec..84b761a 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -214,6 +214,15 @@ # @path: device path # # Since: 1.6 +# +# Example: +# +# <- { "event": "NIC_RX_FILTER_CHANGED", +# "data": { "name": "vnet0", +# "path": "/machine/peripheral/vnet0/virtio-backend" }, +# "timestamp": { "seconds": 1368697518, "microseconds": 326866 } } +# } +# ## { 'event': 'NIC_RX_FILTER_CHANGED', 'data': { '*name': 'str', 'path': 'str' } } |