Skip to content

Commit

Permalink
qmp-events: move 'NIC_RX_FILTER_CHANGED' doc to schema
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
  • Loading branch information
elmarco authored and Markus Armbruster committed Jan 16, 2017
1 parent cdc94a1 commit 5dbdcf4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
17 changes: 0 additions & 17 deletions docs/qmp-events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------

Expand Down
9 changes: 9 additions & 0 deletions qapi/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -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' } }
Expand Down

0 comments on commit 5dbdcf4

Please sign in to comment.