Skip to contentSkip to conversation

[6814] Revert r6406

Qemu-devel Anthony Liguori 1 participant 1 message Mar 11, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6814

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6814
Author:   aliguori
Date:     2009-03-11 20:05:29 +0000 (Wed, 11 Mar 2009)

Log Message:
-----------
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.

Modified Paths:
--------------
trunk/block.c

Modified: trunk/block.c
===================================================================

block.c +1 -6
@@ -1140,7 +1140,6 @@
 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 @@
                        " 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");
     }
 }