aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2012-09-07 17:30:40 +0200
committerNicholas Bellinger <[email protected]>2012-09-17 17:13:38 -0700
commita50da144d048f9dbebed2b1441ed779d6bbbcd03 (patch)
tree25290267964578f79c10590a6511d10b85e7de96 /lib/mpi/mpi-inline.h
parent7a3f369ce31694017996524a1cdb08208a839077 (diff)
target: support zero allocation length in SBC commands
READ CAPACITY must be subject to the same treatment as INQUIRY, REQUEST SENSE, and MODE SENSE, but there are no pre-existing bugs to fix here. Just use an on-stack buffer, and copy to it after checking the return value of transport_kmap_data_sg. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions