summaryrefslogtreecommitdiffstats
path: root/monitor/qmp-cmds.c
diff options
context:
space:
mode:
authorKevin Wolf2020-02-24 15:29:53 +0100
committerKevin Wolf2020-03-06 17:15:38 +0100
commit5a16818b45cbe2a35d58f5314209b09b753994d8 (patch)
tree8266e5ad304a42d3fe7bb106090155fac07c9346 /monitor/qmp-cmds.c
parentblock: Move common QMP commands to block-core QAPI module (diff)
downloadqemu-5a16818b45cbe2a35d58f5314209b09b753994d8.tar.gz
qemu-5a16818b45cbe2a35d58f5314209b09b753994d8.tar.xz
qemu-5a16818b45cbe2a35d58f5314209b09b753994d8.zip
block: Move sysemu QMP commands to QAPI block module
QMP commands that are related to the system emulator and don't make sense in the context of tools such as qemu-storage-daemon should live in qapi/block.json rather than qapi/block-core.json. Move them there. The associated data types are actually also used in code shared with the tools, so they stay in block-core.json. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20200224143008.13362-6-kwolf@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'monitor/qmp-cmds.c')
-rw-r--r--monitor/qmp-cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/qmp-cmds.c b/monitor/qmp-cmds.c
index da7083087e..864cbfa32e 100644
--- a/monitor/qmp-cmds.c
+++ b/monitor/qmp-cmds.c
@@ -30,7 +30,7 @@
#include "sysemu/blockdev.h"
#include "sysemu/block-backend.h"
#include "qapi/error.h"
-#include "qapi/qapi-commands-block-core.h"
+#include "qapi/qapi-commands-block.h"
#include "qapi/qapi-commands-control.h"
#include "qapi/qapi-commands-machine.h"
#include "qapi/qapi-commands-misc.h"