On Tue, Feb 17, 2015 at 05:55:53PM +0800, Fam Zheng wrote:
> Since commit 1dc936aa84 (virtio-blk: Use blk_aio_ioctl) we silently lose
> the request if blk_aio_ioctl returns NULL (not implemented).
> 
> Fix it by directly returning VIRTIO_BLK_S_UNSUPP as we used to do.
> 
> Signed-off-by: Fam Zheng <[email protected]>
> 
> ---
> v2: Fix the leak of ioctl_req. (Kevin)
> ---
>  hw/block/virtio-blk.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Stefan Hajnoczi <[email protected]>

Attachment: pgpvqPl7bDCSZ.pgp
Description: PGP signature

Reply via email to