Re: [Qemu-devel] [PATCH] SCSI: rd/wr/vr-protect !=0 is an error

2012-07-11 Thread Paolo Bonzini
Il 12/07/2012 02:19, Ronnie Sahlberg ha scritto: > The QEMU SCSI emulation does not support protection information, > so any READ/WRITE/VERIFY commands that has the protect bits set to > non-zero should fail with ILLEGAL_REQUEST/INVALID_FIELD_IN_CDB > > From SCSI SBC : > If the logical unit does n

[Qemu-devel] [PATCH] SCSI: rd/wr/vr-protect !=0 is an error

2012-07-11 Thread Ronnie Sahlberg
The QEMU SCSI emulation does not support protection information, so any READ/WRITE/VERIFY commands that has the protect bits set to non-zero should fail with ILLEGAL_REQUEST/INVALID_FIELD_IN_CDB >From SCSI SBC : If the logical unit does not support protection information, then the device server sh

[Qemu-devel] [PATCH] SCSI rd/wr/vr protect != 0 is an error

2012-07-11 Thread Ronnie Sahlberg
List, Paolo, Please find a small patch for the scsi emulation in qemu. Since QEMU scsi emulation does not implement/support protection information any READ/WRITE/VERIFY command that specifies a non-zero value for the rd/vr/wr-protect field in the CDB should fail with ILLEGAL_REQUEST/INVALID_FIEL