projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc881b4
)
Revert "hmp: fix crash in 'info block -n -v'"
author
Stefan Hajnoczi
<stefanha@redhat.com>
Wed, 22 Apr 2015 10:15:10 +0000
(11:15 +0100)
committer
Kevin Wolf
<kwolf@redhat.com>
Tue, 28 Apr 2015 13:36:09 +0000
(15:36 +0200)
This reverts commit
638b8366200130cc7cf7a026630bc6bfb63b0c4c
.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hmp.c
patch
|
blob
|
history
diff --git
a/hmp.c
b/hmp.c
index f142d366ef6567e6e87f8a545c9bbc0b825b25a2..f31ae2796af3080655c7aca1807a92f958882ce6 100644
(file)
--- 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) {