dma: Have dma_buf_read() / dma_buf_write() take a void pointer
[qemu/rayw.git] / qapi / rdma.json
bloba1d2175a8b3614d237f0cfb0a57f2f680a57cff9
1 # -*- Mode: Python -*-
2 # vim: filetype=python
5 ##
6 # = RDMA device
7 ##
9 ##
10 # @RDMA_GID_STATUS_CHANGED:
12 # Emitted when guest driver adds/deletes GID to/from device
14 # @netdev: RoCE Network Device name
16 # @gid-status: Add or delete indication
18 # @subnet-prefix: Subnet Prefix
20 # @interface-id : Interface ID
22 # Since: 4.0
24 # Example:
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}}
35 { 'event': 'RDMA_GID_STATUS_CHANGED',
36   'data': { 'netdev'        : 'str',
37             'gid-status'    : 'bool',
38             'subnet-prefix' : 'uint64',
39             'interface-id'  : 'uint64' } }