diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-12-10 17:16:08 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 08:17:32 -0600 |
commit | bdae662c9436d0d7cc6c6ae4e28f891d2f16e208 (patch) | |
tree | ba88194e930769450cde6e5bf77908a26c22bff7 /monitor.c | |
parent | 0108d4e3233cd3aa289f354eb8b78dfe5bb16b09 (diff) |
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 <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 588b38320134edee4a569f60ed88c9848961d6ee)
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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", |