mirror of https://github.com/xqemu/xqemu.git
Revert "hmp: fix crash in 'info block -n -v'"
This reverts commit 638b836620
.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
dc881b441d
commit
9419874f70
3
hmp.c
3
hmp.c
|
@ -391,8 +391,7 @@ static void print_block_info(Monitor *mon, BlockInfo *info,
|
||||||
inserted->iops_size);
|
inserted->iops_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: inserted->image should never be null */
|
if (verbose) {
|
||||||
if (verbose && inserted->image) {
|
|
||||||
monitor_printf(mon, "\nImages:\n");
|
monitor_printf(mon, "\nImages:\n");
|
||||||
image_info = inserted->image;
|
image_info = inserted->image;
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|
Loading…
Reference in New Issue