summaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-12-10 17:16:07 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:49 -0600
commit218a536a7a7c6d3679d5eca0103f32fd11fbfaf0 (patch)
tree7d916727bef7fea8cae2f7018362f12320e1b108 /block.h
parentd15e546567d75fca36d852c39e30adaab02121a7 (diff)
downloadqemu-218a536a7a7c6d3679d5eca0103f32fd11fbfaf0.tar.gz
qemu-218a536a7a7c6d3679d5eca0103f32fd11fbfaf0.tar.bz2
qemu-218a536a7a7c6d3679d5eca0103f32fd11fbfaf0.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>
Diffstat (limited to 'block.h')
-rw-r--r--block.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/block.h b/block.h
index 3282dd2cd1..fa51ddf150 100644
--- a/block.h
+++ b/block.h
@@ -48,7 +48,8 @@ typedef struct QEMUSnapshotInfo {
void bdrv_info_print(Monitor *mon, const QObject *data);
void bdrv_info(Monitor *mon, QObject **ret_data);
-void bdrv_info_stats(Monitor *mon);
+void bdrv_stats_print(Monitor *mon, const QObject *data);
+void bdrv_info_stats(Monitor *mon, QObject **ret_data);
void bdrv_init(void);
void bdrv_init_with_whitelist(void);