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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html