On Mon, Jan 27, 2014 at 02:08:56PM +0100, Paolo Bonzini wrote:
> SCSI defines a status code for when a thin-provisioned LUNs would
> exceed the allocated space, map ENOSPC to it.
> 
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  hw/scsi/scsi-bus.c     | 5 +++++
>  hw/scsi/scsi-disk.c    | 3 +++
>  include/hw/scsi/scsi.h | 2 ++
>  3 files changed, 10 insertions(+)

The SBC confirms that SPACE ALLOCATION WRITE PROTECT is used when there
is no space.

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Reply via email to