Artyom Tarasenko b60c2c74f3 scsi-disk: Inquiry with allocation length of CDB < 36 (v4)
According to the SCSI-2 specification,
http://ldkelley.com/SCSI2/SCSI2/SCSI2/SCSI2-08.html#8.2.5 ,
"if the allocation length of the command descriptor block (CDB) is too
small to transfer all of the parameters, the additional length shall
not be adjusted to reflect the truncation."
The 36 mandatory bytes of response are written to outbuf, and then
only the length requested in CDB is transferred.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-12-20 11:35:28 +02:00
2009-12-03 09:41:25 -06:00
2009-12-03 11:45:50 -06:00
2009-11-29 18:00:41 +01:00
2009-12-19 08:26:28 -06:00
2009-12-19 08:26:28 -06:00
2009-12-19 08:26:28 -06:00
2009-12-03 11:45:50 -06:00
2009-11-22 21:35:13 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-05 17:36:00 +01:00
2009-10-02 17:59:10 +00:00
2008-12-13 09:32:43 +00:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2009-05-13 20:54:26 +01:00
2004-08-01 21:54:53 +00:00
2009-10-27 12:28:59 -05:00
2009-09-25 19:53:21 +00:00
2009-10-05 09:32:44 -05:00
2009-10-01 16:12:16 -05:00
2009-03-10 21:43:35 +00:00
2009-11-17 08:49:30 -06:00
2009-01-14 18:39:49 +00:00
2009-12-19 08:26:21 -06:00
2009-11-17 08:49:38 -06:00
2009-10-08 21:17:18 -05:00
2009-11-21 09:06:46 +00:00
2009-10-01 16:12:16 -05:00
2008-10-12 17:54:42 +00:00
2009-10-01 16:12:16 -05:00
2009-12-05 17:36:00 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-20 06:56:26 +00:00
2008-10-27 19:49:12 +00:00
2009-10-05 09:32:44 -05:00
2009-11-14 01:19:12 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-05 17:36:00 +01:00
2009-09-12 07:36:22 +00:00
2009-12-05 17:36:06 +01:00
2009-12-17 18:24:59 +01:00
2007-09-16 20:03:23 +00:00
2009-07-02 17:54:34 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2008-12-14 08:50:18 +00:00
2009-10-27 12:28:59 -05:00
2009-10-01 16:12:16 -05:00
2009-12-05 17:36:06 +01:00
2009-12-17 18:27:27 +01:00
2009-11-19 16:42:45 +00:00
2009-12-03 11:45:50 -06:00
2009-09-12 07:36:22 +00:00
2009-12-12 08:17:30 -06:00
2009-12-12 08:17:30 -06:00
2009-12-03 09:41:29 -06:00
2009-08-15 07:51:59 +00:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-12-19 08:26:21 -06:00
2009-12-12 08:17:31 -06:00
2009-12-03 11:45:50 -06:00
2009-10-27 12:28:59 -05:00
2009-12-03 11:45:50 -06:00
2009-12-19 08:26:21 -06:00
2009-11-19 16:45:21 +00:00
2009-12-03 15:26:00 -06:00
2009-12-19 08:26:20 -06:00
2009-10-01 16:12:16 -05:00
2009-12-12 08:17:30 -06:00
2009-12-03 11:45:50 -06:00
2009-07-22 10:58:49 -05:00
2009-10-05 09:32:45 -05:00
2009-12-12 08:17:28 -06:00
2009-11-17 08:49:38 -06:00
2009-11-17 08:49:38 -06:00
2009-09-04 09:37:29 -05:00
2009-12-03 09:41:20 -06:00
2009-12-03 09:41:18 -06:00
2009-12-03 09:41:20 -06:00
2008-12-14 08:50:18 +00:00
2009-12-07 16:36:50 -06:00
2009-10-01 16:12:16 -05:00
2009-06-29 08:52:44 -05:00
2009-07-08 18:25:37 +04:00
2009-10-06 14:36:09 -05:00
2009-11-14 01:19:12 +01:00
2009-04-07 21:47:27 +00:00
2009-09-13 19:38:43 +00:00
2009-10-01 16:12:16 -05:00
2008-12-04 11:29:42 +00:00
2009-10-01 16:12:16 -05:00
2009-03-05 23:01:23 +00:00
2008-09-06 16:31:30 +00:00
2009-12-19 08:26:22 -06:00
2009-10-01 16:12:16 -05:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-12-12 08:17:33 -06:00
2009-10-01 16:12:16 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
Languages
C 82.6%
C++ 6.5%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.9%