scsi: add support for ATA_PASSTHROUGH_xx scsi command
authorCong Meng <mc@linux.vnet.ibm.com>
Fri, 3 Aug 2012 04:02:19 +0000 (12:02 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 Aug 2012 19:55:03 +0000 (21:55 +0200)
commite4b65262a3b6633fe107e4ce7660b41a71a16e5f
tree573d75179d90564a8a3ab534b80140cfb8b65d4a
parent1f07730896f4a38a66bc3a6837704290ff2927f9
scsi: add support for ATA_PASSTHROUGH_xx scsi command

Correct the command names of opcode 0x85 and 0xa1, and calculate
their xfer size from CDB.

Signed-off-by: Cong Meng <mc@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi-bus.c
hw/scsi-defs.h