Hello,
From: Paolo Bonzini
Subject: Re: [PATCH] scsi-bus: fix to allow some special SCSI commands
Date: Fri, 11 Jul 2014 11:02:41 +0200
> > @@ -563,7 +565,8 @@ SCSIRequest *scsi_req_new(SCSIDevice *d, uint32_t tag,
> > uint32_t lun,
> > SCSIRequest *req;
> > SCSICommand cmd;
> >
> > -
Currently, some special SCSI commands sent from the initiator in a
guest do not reach the target device. To avoid this, extended (0x7e,)
variable length (0x7f,) and vendor specific (0xc0..0xff) opcodes are
now treated as valid CDBs.
Originally, the most significant 3 bits of a SCSI opcode specifi
Il 11/07/2014 10:53, TAMUKI Shoichi ha scritto:
@@ -563,7 +565,8 @@ SCSIRequest *scsi_req_new(SCSIDevice *d, uint32_t tag,
uint32_t lun,
SCSIRequest *req;
SCSICommand cmd;
-if (scsi_req_parse(&cmd, d, buf) != 0) {
+if (scsi_req_parse(&cmd, d, buf,
+((VirtIOSCSIReq