diff options
| author | Alberto Garcia | 2015-04-17 14:44:48 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-04-17 15:27:42 +0200 |
| commit | 638b8366200130cc7cf7a026630bc6bfb63b0c4c (patch) | |
| tree | 42cb5dfbdc4a1bf002f5ef883a3c73dfc655e2b4 /include/exec/user | |
| parent | Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150417-2' into staging (diff) | |
| download | qemu-638b8366200130cc7cf7a026630bc6bfb63b0c4c.tar.gz qemu-638b8366200130cc7cf7a026630bc6bfb63b0c4c.tar.xz qemu-638b8366200130cc7cf7a026630bc6bfb63b0c4c.zip | |
hmp: fix crash in 'info block -n -v'
The image field in BlockDeviceInfo should never be null, however
bdrv_block_device_info() is not filling it in.
This makes the 'info block -n -v' command crash QEMU.
The proper solution is probably to move the relevant code from
bdrv_query_info() to bdrv_block_device_info(), but since we're too
close to the release for that this simpler workaround solves the
crash.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: 1429274688-8115-1-git-send-email-berto@igalia.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
