summaryrefslogtreecommitdiffstats
path: root/monitor
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-09-08 11:35:43 +0200
committerDaniel P. Berrangé2021-11-02 16:55:13 +0100
commitdd98234c059e6bdb05a52998270df6d3d990332e (patch)
tree554da5ee8ecbd3bf927d998d968c7e65cff42823 /monitor
parentdocs/devel: document expectations for HMP commands in the future (diff)
downloadqemu-dd98234c059e6bdb05a52998270df6d3d990332e.tar.gz
qemu-dd98234c059e6bdb05a52998270df6d3d990332e.tar.xz
qemu-dd98234c059e6bdb05a52998270df6d3d990332e.zip
qapi: introduce x-query-roms QMP command
This is a counterpart to the HMP "info roms" 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 'monitor')
-rw-r--r--monitor/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/misc.c b/monitor/misc.c
index 0e124044d0..c3efdf6336 100644
--- a/monitor/misc.c
+++ b/monitor/misc.c
@@ -71,6 +71,7 @@
#include "qapi/qapi-commands-misc.h"
#include "qapi/qapi-commands-qom.h"
#include "qapi/qapi-commands-trace.h"
+#include "qapi/qapi-commands-machine.h"
#include "qapi/qapi-init-commands.h"
#include "qapi/error.h"
#include "qapi/qmp-event.h"