From c5a415a0afddbc217263b62a8e87d8ec9e7f760f Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Wed, 14 Sep 2011 16:05:49 -0300 Subject: qapi: Convert query-chardev Reviewed-by: Michael Roth Tested-by: Michael Roth Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- monitor.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 4e9ecdfea3..86a0dad2cb 100644 --- a/monitor.c +++ b/monitor.c @@ -2783,8 +2783,7 @@ static const mon_cmd_t info_cmds[] = { .args_type = "", .params = "", .help = "show the character devices", - .user_print = qemu_chr_info_print, - .mhandler.info_new = qemu_chr_info, + .mhandler.info = hmp_info_chardev, }, { .name = "block", @@ -3072,14 +3071,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .user_print = monitor_user_noop, .mhandler.info_new = do_info_commands, }, - { - .name = "chardev", - .args_type = "", - .params = "", - .help = "show the character devices", - .user_print = qemu_chr_info_print, - .mhandler.info_new = qemu_chr_info, - }, { .name = "block", .args_type = "", -- cgit v1.2.3