diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2021-09-08 10:35:43 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2021-11-02 15:55:14 +0000 |
commit | 8dbbca5c056842d53498f643a15cac8593d51424 (patch) | |
tree | 7644cfc5c677565e0f610f8f76fbd8796d612897 /hw/rdma/rdma_rm.h | |
parent | fc30920731470a44c69c8359be45b72ac7314fb6 (diff) | |
download | qemu-8dbbca5c056842d53498f643a15cac8593d51424.zip qemu-8dbbca5c056842d53498f643a15cac8593d51424.tar.gz qemu-8dbbca5c056842d53498f643a15cac8593d51424.tar.bz2 |
qapi: introduce x-query-rdma QMP command
This is a counterpart to the HMP "info rdma" command. It is being
added with an "x-" prefix because this QMP command is intended as an
adhoc debugging tool and will thus not be modelled in QAPI as fully
structured data, nor will it have long term guaranteed stability.
The existing HMP command is rewritten to call the QMP command.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'hw/rdma/rdma_rm.h')
-rw-r--r-- | hw/rdma/rdma_rm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rdma/rdma_rm.h b/hw/rdma/rdma_rm.h index e863990..d69a917 100644 --- a/hw/rdma/rdma_rm.h +++ b/hw/rdma/rdma_rm.h @@ -92,6 +92,6 @@ static inline union ibv_gid *rdma_rm_get_gid(RdmaDeviceResources *dev_res, { return &dev_res->port.gid_tbl[sgid_idx].gid; } -void rdma_dump_device_counters(Monitor *mon, RdmaDeviceResources *dev_res); +void rdma_format_device_counters(RdmaDeviceResources *dev_res, GString *buf); #endif |