aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-11 20:05:29 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-11 20:05:29 +0000
commitebf53fcdaeabd51b0fa66d65366c188dd974d4da (patch)
tree2b9c86b3173007323f0d75454ed8fc58d113a996
parent70240ca680aa7e9363ffbb784cf64907060f853e (diff)
Revert r6406
This series is broken by design as it requires expensive IO operations at open time causing very long delays when starting a virtual machine for the first time. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6814 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--block.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/block.c b/block.c
index 4f5c311adc..1ef4ae5f3e 100644
--- a/block.c
+++ b/block.c
@@ -1140,7 +1140,6 @@ void bdrv_info(Monitor *mon)
void bdrv_info_stats(Monitor *mon)
{
BlockDriverState *bs;
- BlockDriverInfo bdi;
for (bs = bdrv_first; bs != NULL; bs = bs->next) {
monitor_printf(mon, "%s:"
@@ -1148,14 +1147,10 @@ void bdrv_info_stats(Monitor *mon)
" wr_bytes=%" PRIu64
" rd_operations=%" PRIu64
" wr_operations=%" PRIu64
- ,
+ "\n",
bs->device_name,
bs->rd_bytes, bs->wr_bytes,
bs->rd_ops, bs->wr_ops);
- if (bdrv_get_info(bs, &bdi) == 0)
- monitor_printf(mon, " high=%" PRId64,
- bdi.highest_alloc);
- monitor_printf(mon, "\n");
}
}