Received: from eggs.gnu.org ([208.118.235.92]:37338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp78I-0006ob-Aj for qemu-devel@nongnu.org; Wed, 11 Jul 2012 20:19:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sp78H-0004KQ-FA for qemu-devel@nongnu.org; Wed, 11 Jul 2012 20:19:50 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:50928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp78H-0004KL-8k for qemu-devel@nongnu.org; Wed, 11 Jul 2012 20:19:49 -0400 Received: by pbbro12 with SMTP id ro12so2944755pbb.4 for ; Wed, 11 Jul 2012 17:19:48 -0700 (PDT) From: Ronnie Sahlberg Date: Thu, 12 Jul 2012 10:19:37 +1000 Message-Id: <1342052378-18900-1-git-send-email-ronniesahlberg@gmail.com> Subject: [Qemu-devel] [PATCH] SCSI rd/wr/vr protect != 0 is an error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pbonzini@redhat.com, qemu-devel@nongnu.org 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_FIELD_IN_CDB regards ronnie sahlberg