Fam Zheng 063143d5b1 scsi-generic: Merge block max xfer len in INQUIRY response
The rationale is similar to the above mode sense response interception:
this is practically the only channel to communicate restraints from
elsewhere such as host and block driver.

The scsi bus we attach onto can have a larger max xfer len than what is
accepted by the host file system (guarding between the host scsi LUN and
QEMU), in which case the SG_IO we generate would get -EINVAL.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <1464243305-10661-3-git-send-email-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-05-29 09:11:12 +02:00
..
2016-05-19 16:42:28 +02:00
2016-05-19 16:42:29 +02:00
2016-05-29 09:11:10 +02:00
2016-05-19 16:42:27 +02:00
2016-05-29 09:11:10 +02:00
2016-05-23 14:28:25 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:30 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-18 15:04:27 +03:00
2016-05-19 16:42:27 +02:00
2016-05-29 09:11:10 +02:00
2016-05-18 15:04:27 +03:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-20 13:09:22 +01:00
2016-05-23 13:30:03 +02:00