summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino2011-09-21 22:16:47 +0200
committerLuiz Capitulino2011-10-27 15:48:47 +0200
commitb202381800d81fbff9978abbdea95760dd363bb6 (patch)
tree572a252464539e052b1fca18e61779dc3788bac7 /monitor.c
parentblock: Rename the BlockIOStatus enum values (diff)
downloadqemu-b202381800d81fbff9978abbdea95760dd363bb6.tar.gz
qemu-b202381800d81fbff9978abbdea95760dd363bb6.tar.xz
qemu-b202381800d81fbff9978abbdea95760dd363bb6.zip
qapi: Convert query-block
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/monitor.c b/monitor.c
index 2f49c74793..3e76f4c0b7 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2674,8 +2674,7 @@ static const mon_cmd_t info_cmds[] = {
.args_type = "",
.params = "",
.help = "show the block devices",
- .user_print = bdrv_info_print,
- .mhandler.info_new = bdrv_info,
+ .mhandler.info = hmp_info_block,
},
{
.name = "blockstats",
@@ -2961,14 +2960,6 @@ static const mon_cmd_t qmp_cmds[] = {
static const mon_cmd_t qmp_query_cmds[] = {
{
- .name = "block",
- .args_type = "",
- .params = "",
- .help = "show the block devices",
- .user_print = bdrv_info_print,
- .mhandler.info_new = bdrv_info,
- },
- {
.name = "blockstats",
.args_type = "",
.params = "",