From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: [PATCH 0/6][v2] Check for supported SCSI commands Date: Fri, 22 Jul 2011 16:51:11 +0200 Message-ID: <1311346277-32329-1-git-send-email-hare@suse.de> Cc: Kevin Wolf , Markus Armbruster , kvm@vger.kernel.org, Alexander Graf , Hannes Reinecke To: qemu-devel@nongnu.org Return-path: Received: from cantor2.suse.de ([195.135.220.15]:44120 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754350Ab1GVOvW (ORCPT ); Fri, 22 Jul 2011 10:51:22 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Markus Armbruster pointed out that not every SCSI command is supported for a given device type. Based on his patch and suggestiongs this series cleans up the SCSI device type and adds a check for supported commands. Hannes Reinecke (6): scsi-disk: Codingstyle fixes scsi: Remove references to SET_WINDOW scsi: Remove REZERO_UNIT emulation scsi: Sanitize command definitions scsi-disk: Remove 'drive_kind' scsi-disk: Check for supported commands hw/scsi-bus.c | 74 ++++++++++++--------- hw/scsi-defs.h | 62 +++++++++++------- hw/scsi-disk.c | 185 ++++++++++++++++++++++++++++++++++++++++------------- hw/scsi-generic.c | 2 +- 4 files changed, 221 insertions(+), 102 deletions(-) -- 1.7.3.4