mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
fc30920731
commit
8dbbca5c05
8 changed files with 114 additions and 96 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue