[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 05/11] scsi-disk: reject ANCHOR=1 for UNMAP and
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 05/11] scsi-disk: reject ANCHOR=1 for UNMAP and WRITE SAME commands |
Date: |
Wed, 13 Nov 2013 12:03:20 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 11/12/2013 08:49 AM, Paolo Bonzini wrote:
> Since we report ANC_SUP==0 in VPD page B2h, we need to return
> an error (ILLEGAL REQUEST/INVALID FIELD IN CDB) for all WRITE SAME
> requests with ANCHOR==1.
>
> Inspired by a similar patch to the LIO in-kernel target.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> @@ -1856,8 +1865,9 @@ static int32_t scsi_disk_emulate_command(SCSIRequest
> *req, uint8_t *buf)
>
> /*
> * We only support WRITE SAME with the unmap bit set for now.
> + * Reject UNMAP=0 or ANCHOR=1.
TAB damage.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH 08/11] raw-posix: implement write_zeroes with MAY_UNMAP for files, (continued)
[Qemu-devel] [PATCH 11/11] qemu-iotests: 033 is fast, Paolo Bonzini, 2013/11/12
[Qemu-devel] [PATCH 05/11] scsi-disk: reject ANCHOR=1 for UNMAP and WRITE SAME commands, Paolo Bonzini, 2013/11/12
- Re: [Qemu-devel] [PATCH 05/11] scsi-disk: reject ANCHOR=1 for UNMAP and WRITE SAME commands,
Eric Blake <=