Re: [Qemu-devel] [PATCH] add support for ATA_PASSTHROUGH_xx scsi command

2012-08-03 Thread Paolo Bonzini
Il 03/08/2012 06:02, Cong Meng ha scritto: Correct the command names of opcode 0x85 and 0xa1, and calculate their xfer size from CDB. ChangeLog: v2: For opcode 0xa1 on TYPE_ROM device, do not calc the xfer size v3: Complete xfer calculation of all situations Signed-off-by: Cong Meng

Re: [Qemu-devel] [PATCH] add support for ATA_PASSTHROUGH_xx scsi command

2012-08-03 Thread Paolo Bonzini
Il 03/08/2012 08:57, Paolo Bonzini ha scritto: Il 03/08/2012 06:02, Cong Meng ha scritto: Correct the command names of opcode 0x85 and 0xa1, and calculate their xfer size from CDB. ChangeLog: v2: For opcode 0xa1 on TYPE_ROM device, do not calc the xfer size v3: Complete xfer

[Qemu-devel] [PATCH] add support for ATA_PASSTHROUGH_xx scsi command

2012-08-02 Thread Cong Meng
Correct the command names of opcode 0x85 and 0xa1, and calculate their xfer size from CDB. ChangeLog: v2: For opcode 0xa1 on TYPE_ROM device, do not calc the xfer size v3: Complete xfer calculation of all situations Signed-off-by: Cong Meng m...@linux.vnet.ibm.com --- hw/scsi-bus.c | 90