diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-12-10 17:16:07 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 08:17:32 -0600 |
commit | 0108d4e3233cd3aa289f354eb8b78dfe5bb16b09 (patch) | |
tree | dfc1e2fb14517618c379dde67dcb76668b447c41 /monitor.c | |
parent | block: Convert bdrv_info() to QObject (diff) | |
download | qemu-kvm-0108d4e3233cd3aa289f354eb8b78dfe5bb16b09.tar.gz qemu-kvm-0108d4e3233cd3aa289f354eb8b78dfe5bb16b09.tar.bz2 qemu-kvm-0108d4e3233cd3aa289f354eb8b78dfe5bb16b09.zip |
block: Convert bdrv_info_stats() to QObject
Each device statistic information is stored in a QDict and
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 218a536a7a7c6d3679d5eca0103f32fd11fbfaf0)
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2371,7 +2371,8 @@ static const mon_cmd_t info_cmds[] = { .args_type = "", .params = "", .help = "show block device statistics", - .mhandler.info = bdrv_info_stats, + .user_print = bdrv_stats_print, + .mhandler.info_new = bdrv_info_stats, }, { .name = "registers", |