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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/3] virtio-blk: Suppress error action on r/w beyond end
Date: Fri, 06 Jun 2014 09:36:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Il 05/06/2014 14:15, Markus Armbruster ha scritto:
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.

Actually SCSI already does it (see check_lba_range in hw/scsi/scsi-disk.c). Thanks for thinking about it though!

Paolo



reply via email to

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