diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-04-22 11:15:10 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-04-28 15:36:09 +0200 |
commit | 9419874f709469de16c1bced7731bfecb07fe1cf (patch) | |
tree | 9c5d83c6c7c4aa89eec742b7a7b1c5e06b61bc60 /hmp.c | |
parent | dc881b441d74b8fc6c9c007cd03d5d05bca388dd (diff) | |
download | qemu-9419874f709469de16c1bced7731bfecb07fe1cf.zip qemu-9419874f709469de16c1bced7731bfecb07fe1cf.tar.gz qemu-9419874f709469de16c1bced7731bfecb07fe1cf.tar.bz2 |
Revert "hmp: fix crash in 'info block -n -v'"
This reverts commit 638b8366200130cc7cf7a026630bc6bfb63b0c4c.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) { |