diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-09-16 16:40:04 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-09-20 12:27:43 +0200 |
commit | 7285477ab11831b1cf56e45878a89170dd06d9b9 (patch) | |
tree | df170949e1a3e643970ef085578943fc5a8205e8 /json-streamer.h | |
parent | 103b40f51e4012b3b0ad20f615562a1806d7f49a (diff) |
scsi-disk: lazily allocate bounce buffer
It will not be needed for reads and writes if the HBA provides a sglist.
In addition, this lets scsi-disk refuse commands with an excessive
allocation length, as well as limit memory on usual well-behaved guests.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'json-streamer.h')
0 files changed, 0 insertions, 0 deletions