From bdae662c9436d0d7cc6c6ae4e28f891d2f16e208 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 10 Dec 2009 17:16:08 -0200 Subject: char: Convert qemu_chr_info() to QObject Each device is represented by a QDict. The returned QObject is a QList of all devices. This commit should not change user output. Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori (cherry picked from commit 588b38320134edee4a569f60ed88c9848961d6ee) --- monitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 349ba971c9..897280ab5e 100644 --- a/monitor.c +++ b/monitor.c @@ -2356,7 +2356,8 @@ static const mon_cmd_t info_cmds[] = { .args_type = "", .params = "", .help = "show the character devices", - .mhandler.info = qemu_chr_info, + .user_print = qemu_chr_info_print, + .mhandler.info_new = qemu_chr_info, }, { .name = "block", -- cgit v1.2.3