qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 10/18] json: Define new QMP message for pvrdma


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 10/18] json: Define new QMP message for pvrdma
Date: Mon, 5 Nov 2018 09:58:56 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 11/5/18 6:45 AM, Yuval Shaia wrote:
pvrdma requires that the same GID attached to it will be attached to the
backend device in the host.

A new QMP messages is defined so pvrdma device can broadcast any change
made to its GID table. This event is captured by libvirt which in turn
will update the GID table in the backend device.

Signed-off-by: Yuval Shaia <address@hidden>
---

+++ b/qapi/rdma.json
@@ -0,0 +1,34 @@
+# -*- Mode: Python -*-
+#
+
+##
+# = RDMA device
+##
+
+##
+# @RDMA_GID_STATUS_CHANGED:
+#
+# Emitted when guest driver adds/deletes GID to/from device
+#
+# @netdev: RoCE Network Device name - char *
+#
+# @gid-status: Add or delete indication - bool
+#
+# @subnet-prefix: Subnet Prefix - uint64
+#
+# @interface-id : Interface ID - uint64
+#
+# Since: 2.12.1

You've missed 2.12.1 by a long shot. Since we are in soft freeze and this is a new feature, the soonest this can be released is in 3.2.

+#
+# Example:
+#
+# <- { {"timestamp": {"seconds": 1540819325, "microseconds": 504544},
+#       "event": "ADDGID", "data": {"netdev": "bridge0",
+#       "interface-id": 7052258031502978997, "subnet-prefix": 33022}}
+#
+##
+{ 'event': 'RDMA_GID_STATUS_CHANGED',
+  'data': { 'netdev'        : 'str',
+            'gid-status'    : 'bool',
+            'subnet-prefix' : 'uint64',
+            'interface-id'  : 'uint64' } }


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]