qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PULL 38/76] Revert "hmp: fix crash in 'info block -n -v'"


From: Kevin Wolf
Subject: [Qemu-devel] [PULL 38/76] Revert "hmp: fix crash in 'info block -n -v'"
Date: Tue, 28 Apr 2015 17:00:20 +0200

From: Stefan Hajnoczi <address@hidden>

This reverts commit 638b8366200130cc7cf7a026630bc6bfb63b0c4c.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
 hmp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hmp.c b/hmp.c
index f142d36..f31ae27 100644
--- a/hmp.c
+++ b/hmp.c
@@ -391,8 +391,7 @@ static void print_block_info(Monitor *mon, BlockInfo *info,
                         inserted->iops_size);
     }
 
-    /* TODO: inserted->image should never be null */
-    if (verbose && inserted->image) {
+    if (verbose) {
         monitor_printf(mon, "\nImages:\n");
         image_info = inserted->image;
         while (1) {
-- 
1.8.3.1




reply via email to

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