Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20210921' into staging
[qemu.git] / qapi / rdma.json
1 # -*- Mode: Python -*-
2 # vim: filetype=python
3 #
4
5 ##
6 # = RDMA device
7 ##
8
9 ##
10 # @RDMA_GID_STATUS_CHANGED:
11 #
12 # Emitted when guest driver adds/deletes GID to/from device
13 #
14 # @netdev: RoCE Network Device name
15 #
16 # @gid-status: Add or delete indication
17 #
18 # @subnet-prefix: Subnet Prefix
19 #
20 # @interface-id : Interface ID
21 #
22 # Since: 4.0
23 #
24 # Example:
25 #
26 # <- {"timestamp": {"seconds": 1541579657, "microseconds": 986760},
27 #     "event": "RDMA_GID_STATUS_CHANGED",
28 #     "data":
29 #         {"netdev": "bridge0",
30 #         "interface-id": 15880512517475447892,
31 #         "gid-status": true,
32 #         "subnet-prefix": 33022}}
33 #
34 ##
35 { 'event': 'RDMA_GID_STATUS_CHANGED',
36   'data': { 'netdev'        : 'str',
37             'gid-status'    : 'bool',
38             'subnet-prefix' : 'uint64',
39             'interface-id'  : 'uint64' } }