diff options
| author | Stefan Hajnoczi | 2015-04-22 12:15:10 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2015-04-28 15:36:09 +0200 |
| commit | 9419874f709469de16c1bced7731bfecb07fe1cf (patch) | |
| tree | 9c5d83c6c7c4aa89eec742b7a7b1c5e06b61bc60 | |
| parent | block: add 'node-name' field to BLOCK_IMAGE_CORRUPTED (diff) | |
| download | qemu-9419874f709469de16c1bced7731bfecb07fe1cf.tar.gz qemu-9419874f709469de16c1bced7731bfecb07fe1cf.tar.xz qemu-9419874f709469de16c1bced7731bfecb07fe1cf.zip | |
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>
| -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) { |
