qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] virtio-blk: Check return value of blk_aio_io


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2] virtio-blk: Check return value of blk_aio_ioctl
Date: Tue, 17 Feb 2015 17:10:52 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 17.02.2015 um 16:40 hat Stefan Hajnoczi geschrieben:
> 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 <address@hidden>
> > 
> > ---
> > 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 <address@hidden>

Thanks, applied to the block branch.

Kevin

Attachment: pgpxe2Yrfufkx.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]