From 8dbbca5c056842d53498f643a15cac8593d51424 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrangé" Date: Wed, 8 Sep 2021 10:35:43 +0100 Subject: qapi: introduce x-query-rdma QMP command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é Signed-off-by: Daniel P. Berrangé --- include/hw/rdma/rdma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hw/rdma/rdma.h') diff --git a/include/hw/rdma/rdma.h b/include/hw/rdma/rdma.h index e77e43a170..80b2e531c4 100644 --- a/include/hw/rdma/rdma.h +++ b/include/hw/rdma/rdma.h @@ -31,7 +31,7 @@ typedef struct RdmaProvider RdmaProvider; struct RdmaProviderClass { InterfaceClass parent; - void (*print_statistics)(Monitor *mon, RdmaProvider *obj); + void (*format_statistics)(RdmaProvider *obj, GString *buf); }; #endif -- cgit 1.4.1