qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6819] Revert r6406


From: Anthony Liguori
Subject: [Qemu-devel] [6819] Revert r6406
Date: Wed, 11 Mar 2009 20:16:06 +0000

Revision: 6819
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6819
Author:   aliguori
Date:     2009-03-11 20:16:05 +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.

Signed-off-by: Anthony Liguori <address@hidden>

Modified Paths:
--------------
    branches/stable_0_10_0/block.c

Modified: branches/stable_0_10_0/block.c
===================================================================
--- branches/stable_0_10_0/block.c      2009-03-11 20:16:01 UTC (rev 6818)
+++ branches/stable_0_10_0/block.c      2009-03-11 20:16:05 UTC (rev 6819)
@@ -1125,7 +1125,6 @@
 void bdrv_info_stats (void)
 {
     BlockDriverState *bs;
-    BlockDriverInfo bdi;
 
     for (bs = bdrv_first; bs != NULL; bs = bs->next) {
        term_printf ("%s:"
@@ -1133,14 +1132,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)
-            term_printf(" high=%" PRId64,
-                        bdi.highest_alloc);
-        term_printf("\n");
     }
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]