qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/3] virtio-blk: Suppress error action on r/w be


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 0/3] virtio-blk: Suppress error action on r/w beyond end
Date: Fri, 27 Jun 2014 11:56:59 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Jun 05, 2014 at 02:15:33PM +0200, Markus Armbruster wrote:
> When a device model's I/O operation fails, we execute the error
> action.  This lets layers above QEMU implement thin provisioning, or
> attempt to correct errors before they reach the guest.  But when the
> I/O operation fails because its invalid, reporting the error to the
> guest is the only sensible action.
> 
> This short series does exactly that for virtio-blk.  I intend to do
> the same for IDE and SCSI.
> 
> Markus Armbruster (3):
>   virtio-blk: Factor common checks out of virtio_blk_handle_read/write()
>   virtio-blk: Bypass error action and I/O accounting on invalid r/w
>   virtio-blk: Treat read/write beyond end as invalid
> 
>  hw/block/virtio-blk.c | 45 +++++++++++++++++++++++++++++----------------
>  1 file changed, 29 insertions(+), 16 deletions(-)
> 
> -- 
> 1.9.3
> 

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: pgpFTasjfsV35.pgp
Description: PGP signature


reply via email to

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