qapi: introduce x-query-ramblock QMP command
commitca411b7c8a230af7e83bcebda88b265335f0e4f8
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 8 Sep 2021 09:35:43 +0000 (8 10:35 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 2 Nov 2021 15:55:14 +0000 (2 15:55 +0000)
treed9169fee7dddd9b6869cfb4eeacfd91ea0983d87
parent8dbbca5c056842d53498f643a15cac8593d51424
qapi: introduce x-query-ramblock QMP command

This is a counterpart to the HMP "info ramblock" 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>
hmp-commands-info.hx
include/exec/ramlist.h
monitor/hmp-cmds.c
monitor/qmp-cmds.c
qapi/machine.json
softmmu/physmem.c