Skip to content

Commit

Permalink
block: Move sysemu QMP commands to QAPI block module
Browse files Browse the repository at this point in the history
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 <[email protected]>
Message-Id: <[email protected]>
Acked-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
  • Loading branch information
kevmw committed Mar 6, 2020
1 parent b3cf1ec commit 5a16818
Show file tree
Hide file tree
Showing 3 changed files with 387 additions and 387 deletions.
2 changes: 1 addition & 1 deletion monitor/qmp-cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading

0 comments on commit 5a16818

Please sign in to comment.