aboutsummaryrefslogtreecommitdiffstats
path: root/envlist.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-16 16:40:04 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-20 12:27:43 +0200
commit7285477ab11831b1cf56e45878a89170dd06d9b9 (patch)
treedf170949e1a3e643970ef085578943fc5a8205e8 /envlist.c
parent103b40f51e4012b3b0ad20f615562a1806d7f49a (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 'envlist.c')
0 files changed, 0 insertions, 0 deletions