aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-05-26 14:15:05 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-29 09:11:12 +0200
commit063143d5b1fde0fdcbae30bc7d6d14e76fa607d2 (patch)
tree92ab686139cca9e920418b73c281c70f99bd4a89 /exec.c
parent8fdc7839e40f43a426bc7e858cf1dbfe315a3804 (diff)
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>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions