Commit ebf53fcdaeabd51b0fa66d65366c188dd974d4da
1 parent
70240ca6
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
Showing
1 changed file
with
1 additions
and
6 deletions
block.c
| @@ -1140,7 +1140,6 @@ void bdrv_info(Monitor *mon) | @@ -1140,7 +1140,6 @@ void bdrv_info(Monitor *mon) | ||
| 1140 | void bdrv_info_stats(Monitor *mon) | 1140 | void bdrv_info_stats(Monitor *mon) |
| 1141 | { | 1141 | { |
| 1142 | BlockDriverState *bs; | 1142 | BlockDriverState *bs; |
| 1143 | - BlockDriverInfo bdi; | ||
| 1144 | 1143 | ||
| 1145 | for (bs = bdrv_first; bs != NULL; bs = bs->next) { | 1144 | for (bs = bdrv_first; bs != NULL; bs = bs->next) { |
| 1146 | monitor_printf(mon, "%s:" | 1145 | monitor_printf(mon, "%s:" |
| @@ -1148,14 +1147,10 @@ void bdrv_info_stats(Monitor *mon) | @@ -1148,14 +1147,10 @@ void bdrv_info_stats(Monitor *mon) | ||
| 1148 | " wr_bytes=%" PRIu64 | 1147 | " wr_bytes=%" PRIu64 |
| 1149 | " rd_operations=%" PRIu64 | 1148 | " rd_operations=%" PRIu64 |
| 1150 | " wr_operations=%" PRIu64 | 1149 | " wr_operations=%" PRIu64 |
| 1151 | - , | 1150 | + "\n", |
| 1152 | bs->device_name, | 1151 | bs->device_name, |
| 1153 | bs->rd_bytes, bs->wr_bytes, | 1152 | bs->rd_bytes, bs->wr_bytes, |
| 1154 | bs->rd_ops, bs->wr_ops); | 1153 | bs->rd_ops, bs->wr_ops); |
| 1155 | - if (bdrv_get_info(bs, &bdi) == 0) | ||
| 1156 | - monitor_printf(mon, " high=%" PRId64, | ||
| 1157 | - bdi.highest_alloc); | ||
| 1158 | - monitor_printf(mon, "\n"); | ||
| 1159 | } | 1154 | } |
| 1160 | } | 1155 | } |
| 1161 | 1156 |