[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.3] hmp: fix crash in 'info block -n -v'
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH for-2.3] hmp: fix crash in 'info block -n -v' |
Date: |
Fri, 17 Apr 2015 15:40:07 +0100 |
On 17 April 2015 at 13:44, Alberto Garcia <address@hidden> wrote:
> 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 <address@hidden>
Applied, thanks.
-- PMM