mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
cdc94a1b3e
commit
5dbdcf4324
|
@ -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
|
||||
--------------
|
||||
|
||||
|
|
|
@ -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' } }
|
||||
|
|
Loading…
Reference in New Issue