mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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
1 changed files with 1 additions and 2 deletions
3
hmp.c
3
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue